Version

Remove Method (WorksheetRowCollection)

Removes one or more rows from the collection
Syntax
public void Remove( 
   int index,
   int count
)

Parameters

index
the index of the first row to remove point
count
The number of rows to remove
Exceptions
ExceptionDescription
System.InvalidOperationExceptionIf the operation is not allowed, e.g. if it the range intersects with a protected region.
System.IndexOutOfRangeExceptionIf index is negative.
System.ArgumentOutOfRangeExceptionIf count is less than 1.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also