ActivityCollection.Add Method (Activity)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds the Activity to the ICollection.

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

member Add : 
        item:Activity -> unit

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: