System.Data.SqlClient Namespace SqlDataReader Class
Returns the value of the specified column in its native format given the column ordinal.
In [ C# ], this property is the indexer for the SqlDataReader class.
[ VB ]
Overloads NotOverridable Public Default ReadOnly Property Item ( _
ByVal index As Integer _
) As Object
[ C# ]
public object this [
int index
] {get;}
[ C++ ]
public: __property __sealed Object* get_Item (
int index
);
[ JScript ]
returnValue = SqlDataReaderObject.Item ( index );
-or-
returnValue = SqlDataReaderObject ( index );
- index
- The zero-based column ordinal.
The value at the specified column in its native format.
SqlDataReader Members SqlDataReader.Item Overload List