Share via


ResultSet.getReal(Int32) Method

Definition

Retrieves the value of a column in the current row as a value of the type real.

public:
 virtual System::Decimal getReal(int _ColumnID);
public virtual decimal getReal (int _ColumnID);
abstract member getReal : int -> decimal
override this.getReal : int -> decimal
Public Overridable Function getReal (_ColumnID As Integer) As Decimal

Parameters

_ColumnID
Int32

The ID of the column. The first column is 1, the second is 2, and so on.

Returns

Remarks

The following example demonstrates the getReal method.

while ( R.next() ) 
{ 
    print R.getReal(3); 
}

Applies to