Skip to main content
.NET 6.0+

RuleStringComparisonAttribute(StringComparisonType, String) Constructor

Initializes a new instance of the RuleStringComparisonAttribute class.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public RuleStringComparisonAttribute(
    StringComparisonType operatorType,
    string operandValue
)

Parameters

Name Type Description
operatorType StringComparisonType

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

operandValue String

A string value that represents the value to be compared with the target property’s value.

See Also