WorkflowMarkupSerializer.ClearChildren Method (WorkflowMarkupSerializationManager, Object)

 

Removes all child objects from the specified object.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected internal virtual void ClearChildren(
	WorkflowMarkupSerializationManager serializationManager,
	object obj
)

Parameters

serializationManager
Type: System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager supporting this operation.

obj
Type: System.Object

The Object from which to remove all child objects.

Exception Condition
ArgumentNullException

serializationManager is a null reference (Nothing in Visual Basic).

ArgumentNullException

obj is a null reference (Nothing).

Other than exception behavior, ClearChildren provides no default behavior. You must override WorkflowMarkupSerializer to provide logic for this method in an inheriting serializer.

.NET Framework
Available since 3.0
Return to top
Show: