NativeActivityMetadata.SetImportedChildrenCollection 方法

定义

将指定的集合添加为活动的导入子活动。

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

参数

importedChildren
Collection<Activity>

要添加的活动。

注解

这等同于为集合中的每个项调用 AddImportedChild

适用于