Removes the specified containee from this folder. This does not delete the containee object from the object store.
The method returns a IReferentialContainmentRelationship (RCR) object. You must call the Save method on the returned RCR. This method is equivalent to getting the IReferentialContainmentRelationship object and deleting it.
A IUnFileEvent is triggered by the deletion of a RCR object. The source object of the event is the IFolder object on which the Unfile method was invoked.
Namespace:
FileNet.Api.Core
Assembly:
FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Function Unfile ( _ containee As IIndependentlyPersistableObject _ ) As IReferentialContainmentRelationship |
C# |
---|
IReferentialContainmentRelationship Unfile( IIndependentlyPersistableObject containee ) |
Visual C++ |
---|
IReferentialContainmentRelationship^ Unfile( IIndependentlyPersistableObject^ containee ) |
JavaScript |
---|
function unfile(containee); |
Parameters
- containee
- Type: FileNet.Api.Core..::.IIndependentlyPersistableObject
The containment name of the object to remove.