RuleRegularExpressionAttribute(DefaultContexts, String) Constructor
In This Article
Initializes a new instance of the RuleRegularExpressionAttribute class.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v24.2.dll
NuGet Package: DevExpress.Persistent.Base
#Declaration
public RuleRegularExpressionAttribute(
DefaultContexts targetContexts,
string pattern
)
#Parameters
Name | Type | Description |
---|---|---|
target |
Default |
A Default |
pattern | String | A string value that represents the regular expression that the property must match. |
#Remarks
Use this constructor if assigning a specific IRule.Id property value is not necessary.
See Also