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

Definition

Fügt IList am Ende von IList ein Objekt hinzu.

 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

Parameter

item
Activity

Das Object, das in IList eingefügt werden soll.

Implementiert

Hinweise

Löst eine Ausnahme mit der Fehlermeldung "Error_InvalidListItem" aus, wenn Object nicht vom Typ Activity ist.

Gilt für