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

Definition

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

C#
void IList<Activity>.Insert(int index, System.Workflow.ComponentModel.Activity item);

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1