Skip to main content
.NET Framework 4.5.2+

RuleValueComparisonAttribute(ValueComparisonType, Object) Constructor

Initializes a new instance of the RuleValueComparisonAttribute class.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public RuleValueComparisonAttribute(
    ValueComparisonType operatorType,
    object rightOperand
)

Parameters

Name Type Description
operatorType ValueComparisonType

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

rightOperand Object

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

See Also