RuleStringComparisonAttribute(DefaultContexts, StringComparisonType, String) Constructor
In This Article
Initializes a new instance of the RuleStringComparisonAttribute class.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v24.2.dll
NuGet Package: DevExpress.Persistent.Base
#Declaration
public RuleStringComparisonAttribute(
DefaultContexts targetContexts,
StringComparisonType operatorType,
string operandValue
)
#Parameters
Name | Type | Description |
---|---|---|
target |
Default |
A Default |
operator |
String |
A String |
operand |
String | A string value that represents the value to be compared with the target property’s value. |
#Remarks
Use this constructor if assigning a specific IRule.Id property value is not necessary.
See Also