GetDecimal method

Returns the value for the specified column as a System.Decimal.

Syntax
Visual Basic

Public Overrides Function GetDecimal( _
   ByVal columnID As Integer _
) As Decimal
C#

public override decimal GetDecimal(
   int columnID
);
Parameters
  • columnID   The ID number of the column. The value must be in the range [0,ULDataReader.FieldCount-1]. The first column in the cursor has an ID value of zero.

Return value

The column value as a System.Decimal.

See also