ActivityCollection.ICollection<Activity>.Add(Activity) Méthode

Définition

Ajoute un objet à IList à la fin de 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

Paramètres

item
Activity

Object à ajouter à IList.

Implémente

Remarques

Lève une exception avec le message d'erreur "Error_InvalidListItem" si Object n'est pas de type Activity.

S’applique à