[]
Adds a new column to the table object.
ITableColumn Add(int position = -1, int count = 1)
Function Add(Optional position As Integer = -1, Optional count As Integer = 1) As ITableColumn
Type | Name | Description |
---|---|---|
int | position | An integer value indicates the relative position of the new column that starts at 1. The previous column at this position is shifted outward. |
int | count | The total number of new columns. |
Type | Description |
---|---|
ITableColumn | An ITableColumn object that represents the new column. |
If position
is not specified, a new rightmost column is added. A name for the column is automatically generated. The name of the new column can be changed after the column is added.