Share this page

# vtc_create_column

Deprecated. Use lrvtc_create_column. Creates a column.

## C Language

    VTCERR2 vtc_create_column ( PVCI2 pvci, char *columnName, unsigned short *outRc );

## C# Language

    bool vts_multi.create_column ( long pvci, string columnName);

Global Functions

## Arguments

Name | Comments
--- | ---
pvci | The server connection handle.
columnName | The name of the column to create.
outRc | The status of the operation: 1 - Pass or 0 - Fail

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

## Return Values

C Language: Returns zero on success or one of the Error Codes.

C# Language: Returns true on success.

## Parameterization

All string input arguments can be passed using standard parameterization.

## C Language Example

    int rc = 0;
    unsigned short status;

    rc = vtc_create_column (pvci, "NewCol", &status);

## C# Language Example

.NET Multiple Connection Example

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: