Version

DataValidationRuleCollection Class Members

The following tables list the members exposed by DataValidationRuleCollection.

Public Properties
 NameDescription
Public PropertyCountGets the number of data validation rules applied on the Worksheet.  
Public PropertyItemGets or sets the references which have the data validation rule applied to it.  
Public Methods
 NameDescription
Public MethodAddOverloaded. Applies a data validation rule to the a set of references.  
Public MethodClearRemoves all data validation rules from the Worksheet.  
Public MethodContainsOverloaded. Determines whether the specified data validation rule exists on the Worksheet.  
Public MethodFindRuleFind the data validation rule applied to the specified cell.  
Public MethodGetAllReferencesGets a collection of all the references which have the specified or an equivalent rule applied to them.  
Public MethodRemoveOverloaded. Removes the specified rule from the Worksheet.  
Public MethodTryGetReferencesGets the references which have the specified rule applied to them or null if the rule is not used on the Worksheet.  
See Also