Version

DeleteCells(String,Boolean) Method

Deletes a region of cells.
Syntax
public void DeleteCells( 
   string address,
   bool shiftCellsLeft
)

Parameters

address
The address of the region to delete
shiftCellsLeft
If true will shift cells left from the right of the region to occupy the deleted region, otherwise will shift cells up from below the region.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionIf the operation is not allowed, e.g. if it the range intersects with a protected region.
System.ArgumentExceptionIf address is not valid.
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