'Declaration Public Property ValidationOperator As OneConstraintDataValidationOperator
public OneConstraintDataValidationOperator ValidationOperator {get; set;}
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | Occurs when the value is not a member of the OneConstraintDataValidationOperator enumeration. |
Depending on the ValueConstraintDataValidationRule.ValidationCriteria of the rule, either the cell value itself or the length of the cell value's text equivalent is compared to the constraint value or formula.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
OneConstraintDataValidationRule Class
OneConstraintDataValidationRule Members
SetConstraint(Double) Method
SetConstraint(TimeSpan) Method
SetConstraint(DateTime) Method
GetConstraintFormula(String) Method
GetConstraintFormula(String,WorkbookFormat,CellReferenceMode,CultureInfo) Method
SetConstraintFormula(String,String) Method
SetConstraintFormula(String,String,WorkbookFormat,CellReferenceMode,CultureInfo) Method
ValidationCriteria Property