Export (0) Print
Expand All

SqlDataReader.Item Property

Gets the value of a column in its native format.

[C#] In C#, this property is the indexer for the SqlDataReader class.

Overload List

Gets the value of the specified column in its native format given the column ordinal.

[Visual Basic] Overloads Public Overridable Default ReadOnly Property Item(Integer) As Object Implements IDataRecord.Item
[C#] public virtual object this[int] {get;}
[C++] public: __property virtual Object* get_Item(int);
[JScript] SqlDataReader.Item (int)

Gets the value of the specified column in its native format given the column name.

[Visual Basic] Overloads Public Overridable Default ReadOnly Property Item(String) As Object Implements IDataRecord.Item
[C#] public virtual object this[string] {get;}
[C++] public: __property virtual Object* get_Item(String*);
[JScript] SqlDataReader.Item (String)

See Also

SqlDataReader Class | SqlDataReader Members | System.Data.SqlClient Namespace

Show:
© 2015 Microsoft