Version

Remove(WorksheetCell) Method

Removes the data validation rule form the cell if one is applied.
Syntax
public bool Remove( 
   WorksheetCell cell
)

Parameters

cell
The cell which should have its data validation rule cleared.

Return Value

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

If the rule is only applied to the specified cell, it 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