ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 834
نمايش فراداده

ValidationCompareOperatorserializable

System.Web.UI.WebControls (system.web.dll)enum

This enumeration specifies the type of comparison that will be performed by a CompareValidator control. The CompareValidator control evaluates the expression ControlToValidate <Operator> ControlToCompare. (You can also substitute CompareValidator.ValueToCompare instead of CompareValidator.ControlToCompare.) If the expression evaluates True, the validation result is valid.

public enum 

ValidationCompareOperator {

Equal = 0 ,

NotEqual = 1 ,

GreaterThan = 2 ,

GreaterThanEqual = 3 ,

LessThan = 4 ,

LessThanEqual = 5 ,

DataTypeCheck = 6 }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) ValidationCompareOperator

Returned By

System.Web.UI.MobileControls.CompareValidator.Operator, CompareValidator.Operator

Passed To

System.Web.UI.MobileControls.CompareValidator.Operator, BaseCompareValidator.Compare( ), CompareValidator.Operator