Share via


NamedComponentCollection.Insert Method (Int32, ModelComponent)

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

Inserts a ModelComponent in the NamedComponentCollection.

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

Syntax

'Declaration
Protected Friend Overrides Sub Insert ( _
    index As Integer, _
    item As ModelComponent _
)
'Usage
Dim index As Integer 
Dim item As ModelComponent 

Me.Insert(index, item)
protected internal override void Insert(
    int index,
    ModelComponent item
)
protected public:
virtual void Insert(
    int index, 
    ModelComponent^ item
) override
abstract Insert : 
        index:int * 
        item:ModelComponent -> unit  
override Insert : 
        index:int * 
        item:ModelComponent -> unit
override function Insert(
    index : int, 
    item : ModelComponent
)

Parameters

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

See Also

Reference

NamedComponentCollection Class

Insert Overload

Microsoft.AnalysisServices Namespace