The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ColumnCollection.Remove Method

Name Parameters Description
Remove(Func<Int32, Boolean>) predicate

Removes columns that match the specified condition from the worksheet.

Remove(Int32) index

Removes the column at the specified position from the worksheet.

Remove(Int32, Func<Int32, Boolean>) first, predicate

Removes columns that match the specified condition from the worksheet.

Remove(Int32, Int32) index, count

Removes multiple columns from a worksheet.

Remove(Int32, Int32, Func<Int32, Boolean>) first, last, predicate

Removes columns that match the specified condition from the worksheet.

Remove(String) columnHeading

Removes a column with the specified heading from the worksheet.

Remove(String, String) firstColumnHeading, lastColumnHeading

Removes multiple columns from a worksheet.