Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

RowCollection.Remove Method

Name Parameters Description
Remove(Func<Int32, Boolean>) predicate Removes rows that match the specified condition from the worksheet.
Remove(Int32, Func<Int32, Boolean>) first, predicate Removes rows that match the specified condition from the worksheet.
Remove(Int32, Int32, Func<Int32, Boolean>) first, last, predicate Removes rows that match the specified condition from the worksheet.
Remove(Int32, Int32) index, count Removes multiple rows from the worksheet.
Remove(Int32) index Removes the row at the specified position from the worksheet.