NativeActivityMetadata.SetChildrenCollection(Collection<Activity>) Method

Definition

Добавляет указанную коллекцию в качестве дочерних действий для действия.Adds the specified collection as child activities of the activity.

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))

Parameters

children
Collection<Activity>

Добавляемые действия.The activities to add.

Remarks

Это эквивалентно вызову метода AddChild для каждого элемента в коллекции.This is the equivalent of calling AddChild for each item in the collection.

Applies to