Delen via


ModelComponentCollection.Insert Method (IModelComponent, String, Int32)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Inserts an IModelComponent in the ModelComponentCollection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Protected Sub Insert ( _
    item As IModelComponent, _
    key As String, _
    index As Integer _
)
'Usage
Dim item As IModelComponent 
Dim key As String 
Dim index As Integer 

Me.Insert(item, key, index)
protected void Insert(
    IModelComponent item,
    string key,
    int index
)
protected:
void Insert(
    IModelComponent^ item, 
    String^ key, 
    int index
)
member Insert : 
        item:IModelComponent * 
        key:string * 
        index:int -> unit
protected function Insert(
    item : IModelComponent, 
    key : String, 
    index : int
)

Parameters

  • index
    Type: System.Int32
    The zero-based index at which item should be inserted.

See Also

Reference

ModelComponentCollection Class

Insert Overload

Microsoft.AnalysisServices Namespace