ActivityCollection.Insert(Int32, Activity) Methode

Definition

Fügt das Element am Index in die ICollection.

public:
 void Insert(int index, System::Workflow::ComponentModel::Activity ^ item);
public void Insert(int index, System.Workflow.ComponentModel.Activity item);
override this.Insert : int * System.Workflow.ComponentModel.Activity -> unit
Public Sub Insert (index As Integer, item As Activity)

Parameter

index
Int32

Nullbasierter Index der Auflistung, an der das Element eingefügt werden soll.

item
Activity

Die Activity in die Auflistung eingefügt werden soll.

Implementiert

Hinweise

Dies ICollection ist typsicher. Eine Laufzeit ausnahme wird ausgelöst, wenn ein Element nicht vom Typ Activityist.

Gilt für: