ActivityCollection.IList<Activity>.Insert(Int32, Activity) 方法

定義

在指定的零基索引處插入 。ObjectIList

 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

適用於