GetColumnPrecision method

Returns the precision of the column identified by the specified column ID if the column is a numeric column (SQL type NUMERIC).

Syntax
Visual Basic
Public Function GetColumnPrecision( _
   ByVal columnID As Integer _
) As Integer
C#
public int GetColumnPrecision(
   int columnID
);
Parameters
  • columnID   ID of the column. The value must be in the range [0,ColumnCount-1].

Return value

The precision of the specified numeric column.

See also