GetColumnSize method

Returns the size of the column identified by the specified column ID if the column is a sized column (SQL type BINARY or CHAR).

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

Return value

The size of the specified sized column.

See also