Version

ValidationOperator Property (TwoConstraintDataValidationRule)

Gets or sets the validation operator to use when comparing the cell value against the constraint values or formulas.
Syntax
'Declaration
 
Public Property ValidationOperator As TwoConstraintDataValidationOperator
public TwoConstraintDataValidationOperator ValidationOperator {get; set;}
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionOccurs when the value is not a member of the TwoConstraintDataValidationOperator enumeration.
Remarks

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 values or formulas.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also