OracleDataReader.Item[] Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of a column in its native format.
Overloads
| Item[Int32] | Gets the value of the specified column in its native format given the column ordinal. | 
| Item[String] | Gets the value of the specified column in its native format given the column name. | 
Item[Int32]
Gets the value of the specified column in its native format given the column ordinal.
public:
 property System::Object ^ default[int] { System::Object ^ get(int i); };public:
 virtual property System::Object ^ default[int] { System::Object ^ get(int i); };public object this[int i] { get; }public override object this[int i] { get; }member this.Item(int) : objDefault Public ReadOnly Property Item(i As Integer) As ObjectDefault Public Overrides ReadOnly Property Item(i As Integer) As ObjectParameters
- i
- Int32
The column ordinal.
Property Value
The value of the specified column in its native format.
Implements
Exceptions
The index passed was outside the range of 0 through FieldCount.
Applies to
Item[String]
Gets the value of the specified column in its native format given the column name.
public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };public:
 virtual property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };public object this[string name] { get; }public override object this[string name] { get; }member this.Item(string) : objDefault Public ReadOnly Property Item(name As String) As ObjectDefault Public Overrides ReadOnly Property Item(name As String) As ObjectParameters
- name
- String
The column name.
Property Value
The value of the specified column in its native format.
Implements
Exceptions
No column with the specified name was found.