AddNew Method of the DataSetTableColumns Object
This method adds a new column to the data set table.
Syntax
Visual Basic .NET
Function AddNew( _ Name As String, _ IsPrimary As Boolean _ ) As DataSetTableColumn
C++
HRESULT AddNew( BSTR Name, VARIANT_BOOL IsPrimary, IDataSetTableColumn** Result );
Parameters
- Name
- [in] This parameter specifies the name of a new column in the data set table.
- IsPrimary
- [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. - Result
- [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
8/15/2023 1:19:30 PM