ActivityCollection::Add Method (Activity^)

 

Adds the Activity to the ICollection.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
void Add(
	Activity^ item
)

Parameters

item
Type: System.Workflow.ComponentModel::Activity^

The Activity to be added to the ICollection.

The following example shows access of the ActivityCollection which is the member of a composite activity class containing all child activities. This example illustrates the use of Add. This code example is part of the Throw SDK sample and is from the ThrowWorkflow.cs file. For more information, see Using the ThrowActivity Activity.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: