Share via


AdomdDataReader.Item Property (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.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
     As String _
) As Object
    Get
'Usage
Dim instance As AdomdDataReader
Dim  As String
Dim value As Object

value = instance()
public Object this[
    string 
] { get; }
public:
virtual property Object^ default[String^ ] {
    Object^ get (String^ ) sealed;
}
abstract Item : Object
override Item : Object
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • __unnamed0
    Type: System.String
    The name of the column to be retrieved.

Property Value

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

Implements

IDataRecord.Item[String]