Skip to main content
.NET 8.0+

RuleValueComparisonAttribute(ValueComparisonType, Object) Constructor

Initializes a new instance of the RuleValueComparisonAttribute class.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v24.2.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