RuleValueComparisonAttribute(ValueComparisonType, Object) Constructor

Initializes a new instance of the RuleValueComparisonAttribute class.

Namespace: DevExpress.Persistent.Validation

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

Syntax

public RuleValueComparisonAttribute(
    ValueComparisonType operatorType,
    object rightOperand
)

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.