Compartir a través de


Item Propiedad (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.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public ReadOnly Default Property Item ( _
    columnName As String _
) As Object
    Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

Valor de la propiedad

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

Implementa

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