OracleDataReader.GetValue(Int32) Method
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 the column at the specified ordinal in its native format.
public:
virtual System::Object ^ GetValue(int i);
public:
override System::Object ^ GetValue(int i);
public object GetValue (int i);
public override object GetValue (int i);
abstract member GetValue : int -> obj
override this.GetValue : int -> obj
override this.GetValue : int -> obj
Public Function GetValue (i As Integer) As Object
Public Overrides Function GetValue (i As Integer) As Object
Parameters
- i
- Int32
The zero-based column ordinal.
Returns
The value to return.
Implements
Exceptions
The value is too large to be stored in the .NET Decimal.
Remarks
This method returns DBNull for null database columns. The value returned by this method might be the result of the conversion from Oracle's Number data type to .NET Decimal type. If the value is too large to be stored in the .NET Decimal, this method throws an OracleException that is an overflow exception.