Share this page

# TC.vtcCreateColumn

Creates a column.

If a column of the same name already exists, the function does nothing.

Equivalent method in VuGen: lrvtc_create_column

    TC.vtcCreateColumn(colName, vtsName);

## Arguments

Name | Description
--- | ---
colName | (string) The name of the column.
vtsName (Optional) | (string) The alias of the VTS server.

## Return value

A promise that is fulfilled with 0 if completed successfully.

## Example

Copy code

    (async ()=>{
        let ret = await TC.vtcCreateColumn('MyColumn4');
    })();

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: