[]
Gets the collection of columns in this ITable.
The returned ITableColumns collection contains all columns that belong to the table, including their names and data ranges.
ITableColumns Columns { get; }
ReadOnly Property Columns As ITableColumns
worksheet.Range["A1:B3"].Value = new object[,] {
{"Name", "Sales"},
{"Apple", 100},
{"Orange", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
ITableColumns columns = table.Columns;
ITableColumn salesColumn = columns[1];