Compartilhar via


ModelComponentCollection.Insert Method

Definition

Overloads

Insert(IModelComponent, String, Int32)

Inserts an IModelComponent in the ModelComponentCollection.

Insert(IModelComponent, String, Int32, Boolean)

Inserts an IModelComponent in the ModelComponentCollection.

Insert(Int32, ModelComponent)

Inserts an ModelComponent in the ModelComponentCollection.

Insert(IModelComponent, String, Int32)

Inserts an IModelComponent in the 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)

Parameters

item
IModelComponent

The item to insert.

key
String

The key.

index
Int32

The zero-based index at which item should be inserted.

Applies to

Insert(IModelComponent, String, Int32, Boolean)

Inserts an IModelComponent in the 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)

Parameters

item
IModelComponent

The item to insert.

key
String

The key.

index
Int32

The zero-based index at which item should be inserted.

updateDependents
Boolean

Indicates whether to update the dependents.

Applies to

Insert(Int32, ModelComponent)

Inserts an ModelComponent in the 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)

Parameters

index
Int32

The zero-based index at which item should be inserted.

item
ModelComponent

The item to insert.

Applies to