[]
Represents a collection of all the ITableColumn objects in the specified ITable object. Each ITableColumn object represents a column in the table.
public interface ITableColumns
Returns the number of objects in the collection.
int Count { get; }
Gets the ITableColumn at the specified index.
ITableColumn this[int index] { get; }
index
intThe index.
Gets the ITableColumn at the specified column name.
ITableColumn this[string name] { get; }
name
stringThe column name.
Adds new column(s) to the table object.
void Add(int position, int count)
position
int0 based Integer. Specifies the relative position of the new column(s). The previous column at this position is shifted outward.
count
intSpecifies the count of the new column(s).
Adds a new column to the table object. Returns the ITableColumn object.
ITableColumn Add(int position = -1)
position
intOptional Object, the position. Specifies the relative position of the new column that starts at 0. The previous column at this position is shifted outward.
Returns ITableColumnThe new column.
Deletes the column(s) of data in the table.
void Delete(int position, int count)
position
int0 based Integer. Specifies the relative position of the deleted column(s).
count
intSpecifies the count of the deleted column(s).