Compartilhar via


CellSet.Item Property (ICollection)

Gets the specified Cell 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.

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
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)

Parameters

  • indexes
    An ICollection that contains a number of elements less than or equal to the count of axes in the CellSet.

Remarks

The ICollection represents a tuple created by referencing a single point from each axis represented in the CellSet. 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.

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CellSet Class
CellSet Members
Microsoft.AnalysisServices.AdomdClient Namespace