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 네임스페이스