ActivityCollection.IList<Activity>.Insert(Int32, Activity) Metod

Definition

Infogar en Object i IList vid det nollbaserade index som angetts.

 virtual void System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.Insert(int index, System::Workflow::ComponentModel::Activity ^ item) = System::Collections::Generic::IList<System::Workflow::ComponentModel::Activity ^>::Insert;
void IList<Activity>.Insert(int index, System.Workflow.ComponentModel.Activity item);
abstract member System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.Insert : int * System.Workflow.ComponentModel.Activity -> unit
override this.System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.Insert : int * System.Workflow.ComponentModel.Activity -> unit
Sub Insert (index As Integer, item As Activity) Implements IList(Of Activity).Insert

Parametrar

index
Int32

Insättningens nollbaserade position.

item
Activity

Objektet som ska infogas. Den måste vara av typen Activity.

Implementeringar

Kommentarer

Om det Object inte går att casta till en Activitygenereras en anpassad.Exception

Gäller för