ActivityMetadata.AddImportedChild Method

Definition

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

Overloads

AddImportedChild(Activity)

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

AddImportedChild(Activity, Object)

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

AddImportedChild(Activity)

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

C#
public void AddImportedChild(System.Activities.Activity importedChild);

Parameters

importedChild
Activity

The activity to add.

Remarks

An imported child activity is a child activity that the parent activity does not schedule directly. Rather, then parent uses this activity to configure some other child activity.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AddImportedChild(Activity, Object)

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

C#
public void AddImportedChild(System.Activities.Activity importedChild, object origin);

Parameters

importedChild
Activity

The activity to add.

origin
Object

The origin.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1