Skip to main content
.NET Framework 4.5.2+

IRule.Id Property

Returns the identifier of the current rule.

Namespace: DevExpress.Persistent.Validation

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

Declaration

string Id { get; }

Property Value

Type Description
String

A string value representing the current rule’s identifier.

Remarks

When implementing the IRule interface, return a unique identifier of the current Rule. Generally, the IRule.PropertiesIRuleBaseProperties.Id value should be returned.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Id property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also