NativeActivityMetadata.AddChild Method

Definition

Adds the specified activity to the metadata's list of child activities.

Overloads

AddChild(Activity)

Adds the specified activity to the metadata's list of child activities.

AddChild(Activity, Object)

Adds the specified activity to the metadata's list of child activities.

AddChild(Activity)

Adds the specified activity to the metadata's list of child activities.

public:
 void AddChild(System::Activities::Activity ^ child);
public void AddChild (System.Activities.Activity child);
member this.AddChild : System.Activities.Activity -> unit
Public Sub AddChild (child As Activity)

Parameters

child
Activity

The activity to add.

Remarks

An activity added using AddChild is a child activity that the parent activity can schedule directly. These activities are to be provided by the consumer of the activity. An example of this is the Activities collection of a Sequence activity. These activities (and any activities they add using AddChild or AddImportedChild) have access to variables added through AddVariable.

Applies to

AddChild(Activity, Object)

Adds the specified activity to the metadata's list of child activities.

public:
 void AddChild(System::Activities::Activity ^ child, System::Object ^ origin);
public void AddChild (System.Activities.Activity child, object origin);
member this.AddChild : System.Activities.Activity * obj -> unit
Public Sub AddChild (child As Activity, origin As Object)

Parameters

child
Activity

The activity to add.

origin
Object

The origin of the activity.

Applies to