Version

Contains(DataValidationRule) Method

Determines whether the specified data validation rule exists on the Worksheet.
Syntax
public bool Contains( 
   DataValidationRule rule
)

Parameters

rule
The rule to test.

Return Value

True if the rule is applied to one or more cells on the Worksheet; False otherwise.
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