WorkflowMarkupSerializer.ClearChildren Method

Definition

Removes all child objects from the specified object.

C#
protected internal virtual void ClearChildren(System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, object obj);

Parameters

serializationManager
WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager supporting this operation.

obj
Object

The Object from which to remove all child objects.

Exceptions

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

-or-

obj is a null reference (Nothing).

Remarks

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

Applies to

Táirge Leaganacha
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1