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.

注释

If item does not implement IMajorObject, an error occurs.

请参阅

参考

MajorObjectCollection 类

Insert 重载

Microsoft.AnalysisServices 命名空间