ActivityCollection.IList<Activity>.Insert(Int32, Activity) Метод

Определение

Вставляется Object в IList указанный от нуля индекс.

 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

Параметры

index
Int32

Отсчитываемая от нуля позиция вставки.

item
Activity

Объект для вставки. Он должен иметь тип Activity.

Реализации

Комментарии

Object Если не удается привести Activityк объекту, создается пользовательException.

Применяется к