Editar

Partilhar via


ActivityCollection.ICollection<Activity>.Add(Activity) Method

Definition

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

 virtual void System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Add(System::Workflow::ComponentModel::Activity ^ item) = System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^>::Add;
void ICollection<Activity>.Add (System.Workflow.ComponentModel.Activity item);
abstract member System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Add : System.Workflow.ComponentModel.Activity -> unit
override this.System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Add : System.Workflow.ComponentModel.Activity -> unit
Sub Add (item As Activity) Implements ICollection(Of Activity).Add

Parameters

item
Activity

The Object to add to the IList.

Implements

Remarks

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

Applies to