OracleDataReader.GetValue(Int32) Method

Definition

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

public object GetValue (int i);
public override object GetValue (int i);

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.

Applies to

מוצר גירסאות
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1