Partager via


Propriété Item (Int32)

Gets an instance of a Cell by its index. In Microsoft Visual C#, this property is the indexer for the CellSet class.

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

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Cell
    Get
'Utilisation
Dim instance As CellSet
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Notes

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