Version

Contains(WorksheetReferenceCollection) Method

Determines whether the specified references collection has a data validation rule applied to any of it's cells.
Syntax
public bool Contains( 
   WorksheetReferenceCollection references
)

Parameters

references
The references collection to test.

Return Value

True if the any cell from the references collection has a data validation rule applied; False otherwise.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when references is null.
System.ArgumentExceptionOccurs when the references are 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