Partager via


Propriété AdomdDataReader.Item (Int32)

Gets the value of a specified column in its native format, given the ordinal position of the column. In Microsoft Visual C#, this property is the indexer for the AdomdDataReader 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 Object 
    Get
'Utilisation
Dim instance As AdomdDataReader 
Dim index As Integer 
Dim value As Object 

value = instance(index)
public Object this[
    int index
] { get; }
public:
virtual property Object^ default[int index] {
    Object^ get (int index) sealed;
}
abstract Item : Object 
override Item : Object
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

  • index
    Type : System.Int32
    The zero-based index of the column to be retrieved.

Valeur de propriété

Type : System.Object
An Object that contains the value of the specified column.

Implémente

IDataRecord.Item[Int32]

Voir aussi

Référence

AdomdDataReader Classe

Surcharge Item

Espace de noms Microsoft.AnalysisServices.AdomdClient