Edit

Bagikan melalui


ActivityCollection.Insert(Int32, Activity) Method

Definition

Inserts the item at the index in the 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)

Parameters

index
Int32

Zero-based index of the collection at which to insert the item.

item
Activity

The Activity to be inserted into the collection.

Implements

Remarks

This ICollection is type safe. A run-time exception is raised if an item is not of type Activity.

Applies to