CellCollection.Item Property (ICollection)
Gets the specified Cell from the collection by an ICollection interface that contains a collection of absolute axis indexes. In Microsoft Visual C#, this property is the indexer for the CellCollection class.
네임스페이스: Microsoft.AnalysisServices.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
구문
‘선언
Public ReadOnly Default Property Item ( _
indexes As ICollection _
) As Cell
public Cell this [
ICollection indexes
] { get; }
public:
property Cell^ default [ICollection^] {
Cell^ get (ICollection^ indexes);
}
/** @property */
public Cell get_Item (ICollection indexes)
매개 변수
- indexes
An ICollection that contains a number of elements less than or equal to the count of axes in the CellSet referenced by the collection.
주의
The ICollection represents a tuple created by referencing a single point from each axis represented in the CellSet referenced by the collection. The index of each element in the ICollection matches the index of each axis in the Axes collection of the CellSet, and the value of each element represents a zero-based index of rows for each axis.
The following diagram illustrates the Axes collection of a CellSet. The Axes collection contains three axes, numbered from 0 to 2. A single tuple from each axis is then selected to identify a tuple representing a single Cell.
Tuple 4 is selected from Axes.Item(0)
, tuple 2 is selected from Axes.Item(1)
, and tuple 5 is selected from Axes.Item(2)
. Therefore, the ICollection should contain three elements, also numbered from 0 to 2 and assigned the values 4, 2, and 5, respectively.
If the ICollection contains more elements than the Axes collection, an exception is thrown.
For more information about the ICollection interface, see System.Collections.ICollection.
스레드 보안
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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
CellCollection Class
CellCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace