Proprietà Item (String)

Gets the value of a specified column in its native format, given the name of the column. In Microsoft Visual C#, this property is the indexer for the AdomdDataReader class.

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    columnName As String _
) As Object
    Get
'Utilizzo
Dim instance As AdomdDataReader
Dim columnName As String
Dim value As Object

value = instance(columnName)
public Object this[
    string columnName
] { get; }
public:
virtual property Object^ default[String^ columnName] {
    Object^ get (String^ columnName) sealed;
}
abstract Item : Object
override Item : Object
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

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

Implementa

IDataRecord. . :: . .Item[ ( [ ( String] ) ] )