Compartir a través de


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

Definición

Agrega un objeto a IList al final 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

Parámetros

item
Activity

Object que se va a agregar a IList.

Implementaciones

Comentarios

Producir una excepción con el mensaje de error "Error_InvalidListItem" si Object no es del tipo Activity.

Se aplica a