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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Object 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

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

Property Value

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

Implements

IDataRecord.Item[Int32]

See Also

Reference

AdomdDataReader Class

Item Overload

Microsoft.AnalysisServices.AdomdClient Namespace