.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RuleValueComparisonAttribute(ValueComparisonType, Object) Constructor

Initializes a new instance of the RuleValueComparisonAttribute class.

Namespace: DevExpress.Persistent.Validation

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

Declaration

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

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