Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ICollection(Activity).Add Method

ActivityCollection.ICollection(Activity).Add Method

Adds an object to the IList at the end of the IList.

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

private abstract Add : 
        item:Activity -> unit  
private override Add : 
        item:Activity -> unit

Parameters

item
Type: System.Workflow.ComponentModel.Activity

The Object to add to the IList.

Implements

ICollection(T).Add(T)

Raises an exception with the error message "Error_InvalidListItem" if the Object is not of type Activity.

Example

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft