RoleCollection.Item 속성 (Int32)
Gets the Role at the specified index from the collection.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
Public ReadOnly Default Property Item ( _
index As Integer _
) As Role
Get
‘사용 방법
Dim instance As RoleCollection
Dim index As Integer
Dim value As Role
value = instance(index)
public Role this[
int index
] { get; }
public:
property Role^ default[int index] {
Role^ get (int index);
}
member Item : Role
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.
매개 변수
- index
유형: System.Int32
The zero-based index of the Role to return.
속성 값
유형: Microsoft.AnalysisServices.Role
The Role at the specified index.
예외
예외 | 조건 |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |