Marks the object for deletion and associates it with the specified recovery bin. An object marked for deletion is soft deleted; that is, the object is recoverable. See Recovery Bin Concepts.

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

ToggleSyntax

Visual Basic (Declaration)
Function MarkForDeletion ( _
	bin As ICmRecoveryBin, _
	recoveryItemClass As String _
) As ICmRecoveryItem
C#
ICmRecoveryItem MarkForDeletion(
	ICmRecoveryBin bin,
	string recoveryItemClass
)
Visual C++
ICmRecoveryItem^ MarkForDeletion(
	ICmRecoveryBin^ bin, 
	String^ recoveryItemClass
)
JavaScript
function markForDeletion(bin, recoveryItemClass);

Parameters

bin
Type: FileNet.Api.Util..::.ICmRecoveryBin
The ICmRecoveryBin object to contain the object marked for deletion.
recoveryItemClass
Type: System..::.String
The ICmRecoveryItem class or subclass from which to create the instance that is returned.

Return Value

A ICmRecoveryItem object.

ToggleSee Also