Share via


CellCollection.Item Property (Int32)

Gets the specified Cell from the collection by its index. 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 ( _
    index As Integer _
) As Cell
    Get
'Usage
Dim instance As CellCollection
Dim index As Integer
Dim value As Cell

value = instance(index)
public Cell this[
    int index
] { get; }
public:
property Cell^ default[int index] {
    Cell^ get (int index);
}
member Item : Cell
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Remarks

Cells are stored in the CellCollection in a depth-first flattened structure, in which each axis is fully expressed in sequence.