다음을 통해 공유


CellSet.Item Property (Int32, Int32)

Gets the specified Cell from the collection.

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

구문

‘선언
Public ReadOnly Default Property Item ( _
    index1 As Integer, _
    index2 As Integer _
) As Cell
public Cell this [
    int index1,
    int index2
] { get; }
public:
property Cell^ default [int, int] {
    Cell^ get (int index1, int index2);
}
/** @property */
public Cell get_Item (int index1, int index2)

매개 변수

  • index1
    The zero-based index on the first axis of the Cell to find.
  • index2
    The zero-based index on the second axis of the Cell to find.

예외

예외 유형 상태
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.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

CellSet Class
CellSet Members
Microsoft.AnalysisServices.AdomdClient Namespace