AddNew Method of the DataSetTableColumns Object

This method adds a new column to the data set table.


Visual Basic .NET

Function AddNew( _
  Name As String, _
  IsPrimary As Boolean _
) As DataSetTableColumn


  BSTR                  Name,
  VARIANT_BOOL          IsPrimary,
  IDataSetTableColumn** Result


[in] This parameter specifies the name of a new column in the data set table.
[in] This parameter specifies if this column contains the primary key of the table.
As each table must have one and only one primary key column, the first column added must have this attribute. If you set this parameter to TRUE when adding any of the subsequent columns, the other columns are guaranteed to no longer have this attribute after this method call.
[out, retval] A pointer to the IDataSetTableColumn* variable that receives the interface pointer for the added column.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also


15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.