共用方式為


ModelComponentCollection.Insert 方法

定義

多載

Insert(IModelComponent, String, Int32)

將 IModelComponent 插入 ModelComponentCollection。

Insert(IModelComponent, String, Int32, Boolean)

將 IModelComponent 插入 ModelComponentCollection。

Insert(Int32, ModelComponent)

將 ModelComponent 插入 ModelComponentCollection。

Insert(IModelComponent, String, Int32)

將 IModelComponent 插入 ModelComponentCollection。

protected void Insert (Microsoft.AnalysisServices.IModelComponent item, string key, int index);
member this.Insert : Microsoft.AnalysisServices.IModelComponent * string * int -> unit
Protected Sub Insert (item As IModelComponent, key As String, index As Integer)

參數

item
IModelComponent

要插入的項目。

key
String

索引鍵。

index
Int32

應在該處插入 item 之以零起始的索引。

適用於

Insert(IModelComponent, String, Int32, Boolean)

將 IModelComponent 插入 ModelComponentCollection。

protected void Insert (Microsoft.AnalysisServices.IModelComponent item, string key, int index, bool updateDependents);
member this.Insert : Microsoft.AnalysisServices.IModelComponent * string * int * bool -> unit
Protected Sub Insert (item As IModelComponent, key As String, index As Integer, updateDependents As Boolean)

參數

item
IModelComponent

要插入的項目。

key
String

索引鍵。

index
Int32

應在該處插入 item 之以零起始的索引。

updateDependents
Boolean

指出是否更新相依項目。

適用於

Insert(Int32, ModelComponent)

將 ModelComponent 插入 ModelComponentCollection。

protected internal virtual void Insert (int index, Microsoft.AnalysisServices.ModelComponent item);
abstract member Insert : int * Microsoft.AnalysisServices.ModelComponent -> unit
override this.Insert : int * Microsoft.AnalysisServices.ModelComponent -> unit
Protected Friend Overridable Sub Insert (index As Integer, item As ModelComponent)

參數

index
Int32

應在該處插入 item 之以零起始的索引。

item
ModelComponent

要插入的項目。

適用於