Version

Remove(WorksheetRegion) Method

Removes the data validation rule form all cells in the specified region.
Syntax
public bool Remove( 
   WorksheetRegion region
)

Parameters

region
The region which should have its data validation rules cleared.

Return Value

True if the data validation rule was found and removed from any cells in the region; False if the region had no data validation rule applied.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when region is null.
System.ArgumentExceptionOccurs when the region is from a worksheet other than this collection.
Remarks

If any rules in the collection are not applied to any cells after this operation, they will be removed from the collection.

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