Skip to main content
Row

ColumnCollection.Remove Method

Name Parameters Description
Remove(Func<Int32, Boolean>) predicate Removes columns that match the specified condition from the worksheet.
Remove(Int32, Func<Int32, Boolean>) first, predicate Removes columns that match the specified condition from the worksheet.
Remove(Int32, Int32, Func<Int32, Boolean>) first, last, predicate Removes columns that match the specified condition from the worksheet.
Remove(Int32, Int32) index, count Removes multiple columns from a worksheet.
Remove(Int32) index Removes the column at the specified position from the worksheet.
Remove(String, String) firstColumnHeading, lastColumnHeading Removes multiple columns from a worksheet.
Remove(String) columnHeading Removes a column with the specified heading from the worksheet.