RuleValueComparisonAttribute(ValueComparisonType, Object) Constructor

Initializes a new instance of the RuleValueComparisonAttribute class.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v18.2.dll

Declaration

public RuleValueComparisonAttribute(
    ValueComparisonType operatorType,
    object rightOperand
)
Public Sub New(
    operatorType As ValueComparisonType,
    rightOperand As Object
)

Parameters

Type Name Description
ValueComparisonType operatorType

A ValueComparisonType enumeration value that represents the operator type to be used when comparing values.

Object rightOperand

An object that represents the value to be compared with the target property's value.

See Also