다음을 통해 공유


CellSet.Item 속성 (Int32, Int32)

Gets the specified Cell from the collection.

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)

구문

‘선언
Public ReadOnly Default Property Item ( _
    index1 As Integer, _
    index2 As Integer _
) As Cell 
    Get
‘사용 방법
Dim instance As CellSet 
Dim index1 As Integer 
Dim index2 As Integer 
Dim value As Cell 

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

매개 변수

  • index1
    유형: System.Int32
    The zero-based index on the first axis of the Cell to find.
  • index2
    유형: System.Int32
    The zero-based index on the second axis of the Cell to find.

속성 값

유형: Microsoft.AnalysisServices.AdomdClient.Cell
The Cell at the specified indexes.

예외

예외 조건
System.ArgumentException

The CellSet does not have exactly two axes.

System.ArgumentOutOfRangeException

Either index1 or index2 were less than 0, or greater than the number of tuples in their respective axes.

주의

This property is optimized for two-dimensional cellsets. Any attempt to use this with a cellset that contains more or less than two dimensions raises an exception.

[!참고]

This property is optimized and can only be used with cellsets that contain exactly two axes.

참고 항목

참조

CellSet 클래스

Item 오버로드

Microsoft.AnalysisServices.AdomdClient 네임스페이스