.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

ColumnCollection.Insert Method

Name Parameters Description
Insert(Int32) index Inserts a new column into the worksheet at the specified position.
Insert(Int32, Int32) index, count Inserts multiple columns into the worksheet.
Insert(Int32, Int32, ColumnFormatMode) index, count, formatMode Inserts multiple columns and specifies how to format these columns.
Insert(String) columnHeading Inserts a column with the specified heading into the worksheet.
Insert(String, Int32) columnHeading, count Inserts multiple columns into the worksheet.
Insert(String, Int32, ColumnFormatMode) columnHeading, count, formatMode Inserts multiple columns and specifies how to format these columns.