共用方式為


WorkflowMarkupSerializer.GetChildren 方法

定義

擷取指定物件的子物件清單。

protected public:
 virtual System::Collections::IList ^ GetChildren(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, System::Object ^ obj);
protected internal virtual System.Collections.IList GetChildren (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, object obj);
abstract member GetChildren : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> System.Collections.IList
override this.GetChildren : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> System.Collections.IList
Protected Friend Overridable Function GetChildren (serializationManager As WorkflowMarkupSerializationManager, obj As Object) As IList

參數

serializationManager
WorkflowMarkupSerializationManager

支援此作業的 WorkflowMarkupSerializationManager

obj
Object

要從其中擷取子物件的 Object

傳回

IList,包含 obj 的子物件。

例外狀況

objserializationManager 包含 null 參考 (在 Visual Basic 中為 Nothing)。

備註

除非在繼承自 GetChildren 的類別中覆寫,否則會永遠傳回 null (Nothing)。

適用於