IsColumnAutoIncrement method

Checks whether the specified column's default is set to autoincrement.

Syntax
Visual Basic
Public Function IsColumnAutoIncrement( _
   ByVal columnID As Integer _
) As Boolean
C#
public bool IsColumnAutoIncrement(
   int columnID
);
Parameters
  • columnID   The ID number of the column. The value must be in the range [0,ULCursorSchema.ColumnCount-1]. The first column in the table has an ID value of zero.

Return value

True if the column is autoincrementing, false if it is not autoincrementing.

See also