Muokkaa

Jaa


WorkflowMarkupSerializer.ClearChildren Method

Definition

Removes all child objects from the specified object.

protected public:
 virtual void ClearChildren(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, System::Object ^ obj);
protected internal virtual void ClearChildren (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, object obj);
abstract member ClearChildren : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> unit
override this.ClearChildren : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> unit
Protected Friend Overridable Sub ClearChildren (serializationManager As WorkflowMarkupSerializationManager, obj As Object)

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