Item 속성

Gets the IModelComponent at the specified index.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices.dll의 Microsoft.AnalysisServices

구문

‘선언
Protected ReadOnly Default Property Item ( _
    index As Integer _
) As IModelComponent
    Get
‘사용 방법
Dim index As Integer
Dim value As IModelComponent

value = Me(index)
protected IModelComponent this[
    int index
] { get; }
protected:
property IModelComponent^ default[int index] {
    IModelComponent^ get (int index);
}
member Item : IModelComponent
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.

매개 변수

  • index
    형식: System. . :: . .Int32
    The zero-based index of the [Microsoft.DataWarehouse.IModelComponent] to get.

속성 값

형식: Microsoft.AnalysisServices. . :: . .IModelComponent
The [Microsoft.DataWarehouse.IModelComponent] at the specified index.

예외

예외 조건
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

주의

This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[index].