Метод MajorObjectCollection.Insert (Int32, ModelComponent)
Inserts a ModelComponent in the MajorObjectCollection at the specified index.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Protected Friend Overrides Sub Insert ( _
index As Integer, _
item As ModelComponent _
)
'Применение
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
)
Параметры
- index
Тип: System.Int32
The zero-based index at which item should be inserted.
- item
Тип: Microsoft.AnalysisServices.ModelComponent
The ModelComponent to add.
Замечания
If item does not implement IMajorObject, an error occurs.