Removes the specified containee from this folder. This does not delete the containee object from the object store.

You then need to call the Save method on the returned ReferentialContainmentRelationship object. This method is equivalent to getting the ReferentialContainmentRelationship object (returned) and deleting it.


Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)

Syntax

Visual Basic (Declaration)
Public MustOverride Function Unfile( _ 
   ByVal containee As IIndependentlyPersistableObject _ 
) As IReferentialContainmentRelationship
C#
public abstract IReferentialContainmentRelationship Unfile(
   IIndependentlyPersistableObject containee
)
C++
public:
 IReferentialContainmentRelationship Unfile(
   IIndependentlyPersistableObject containee
) abstract 
J#
public abstract IReferentialContainmentRelationship Unfile(
   IIndependentlyPersistableObject containee
)
JScript
public abstract  function Unfile(
   containee : IIndependentlyPersistableObject
) : IReferentialContainmentRelationship

Parameters

containee
The containment name of the object to remove.

Return Value

The ReferentialContainmentRelationship object for the containee to remove.

See Also