Version

TryGetReferences Method

Gets the references which have the specified rule applied to them or null if the rule is not used on the Worksheet.
Syntax
public bool TryGetReferences( 
   DataValidationRule rule,
   out WorksheetReferenceCollection references
)

Parameters

rule
The rule to test.
references
[Out] When this method returns, contains the references which have the rule applied to them or null if the rule isn't applied on the Worksheet.

Return Value

True if the rule has been applied 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