共用方式為


NativeActivityMetadata.SetChildrenCollection 方法

定義

加入指定的集合做為活動的子活動。

public:
 void SetChildrenCollection(System::Collections::ObjectModel::Collection<System::Activities::Activity ^> ^ children);
public void SetChildrenCollection (System.Collections.ObjectModel.Collection<System.Activities.Activity> children);
member this.SetChildrenCollection : System.Collections.ObjectModel.Collection<System.Activities.Activity> -> unit
Public Sub SetChildrenCollection (children As Collection(Of Activity))

參數

children
Collection<Activity>

要加入的活動。

備註

這相當於呼叫集合中每個項目的 AddChild

適用於