Partager via


Propriété Item (Int32[])

Gets the specified Cell from the collection by an array of absolute axis indexes.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    ParamArray indexes As Integer() _
) As Cell
    Get
'Utilisation
Dim instance As CellSet
Dim indexes As Integer()
Dim value As Cell

value = instance(indexes)
public Cell this[
    params int[] indexes
] { get; }
public:
property Cell^ default[... array<int>^ indexes] {
    Cell^ get (... array<int>^ indexes);
}
member Item : Cell
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

  • indexes
    Type : array<System. . :: . .Int32> [] () [] []
    An array of Integer values that contains a number of elements less than or equal to the count of axes in the CellSet.

Notes

The array of Integer values represents a tuple created by referencing a single point from each axis represented in the CellSet. The index of each element in the array of Integer values 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 array of Integer values contains more elements than the Axes collection, an exception is thrown.

This property is functionally equivalent to CellSet.Cells.Item(indexes). For more information, see Item.