Uređivanje

Dijeli putem


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

Definition

Inserts an Object into the IList at the zero-based index specified.

 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

Parameters

index
Int32

The zero-based position of the insertion.

item
Activity

The object to insert. It must be of type Activity.

Implements

Remarks

If the Object cannot be cast to an Activity, a custom Exception is raised.

Applies to