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

适用于