MajorObjectCollection.Insert Method (Int32, ModelComponent)

Inserts a ModelComponent in the MajorObjectCollection at the specified index.

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

Syntax

VB
'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)

Parameters

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

Remarks

If item does not implement IMajorObject, an error occurs.

See Also

Reference

MajorObjectCollection Class

Insert Overload

Microsoft.AnalysisServices Namespace