Class ExcelTableColumnCollection¶
Namespace: OfficeOpenXml.Table
Assembly: EPPlus.dll
A collection of table columns
Inheritance¶
object ← ExcelTableColumnCollection
Implements¶
IEnumerable
IEnumerable<ExcelTableColumn>
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Count¶
Number of items in the collection
Property Value¶
Table¶
A reference to the table object
Property Value¶
this[int]¶
The column Index. Base 0.
Property Value¶
this[string]¶
Indexer
Property Value¶
Methods¶
Add(int)¶
Adds one or more columns at the end of the table.
Parameters¶
columns int
Number of columns to add.
Returns¶
The added range
Delete(int, int)¶
Deletes one or more columns from the specified position in the table.
Parameters¶
position int
The position in the table where the column will be inserted. 0 will insert the column at the leftmost position. Any value larger than the number of rows in the table will insert a row at the end of the table.
columns int
Number of columns to insert.
Returns¶
The inserted range
Insert(int, int)¶
Inserts one or more columns before the specified position in the table.
Parameters¶
position int
The position in the table where the column will be inserted. 0 will insert the column at the leftmost position. Any value larger than the number of rows in the table will insert a row at the end of the table.
columns int
Number of columns to insert.
Returns¶
The inserted range