Version

Contains(WorksheetCell) Method

Determines whether the specified cell has a data validation rule applied to it.
Syntax
public bool Contains( 
   WorksheetCell cell
)

Parameters

cell
The cell to test.

Return Value

True if the cell has a data validation rule applied; False otherwise.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when cell is null.
System.ArgumentExceptionOccurs when the cell is from a worksheet other than this 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