Provides access to members that return information about rules.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
The IRule interface is used to configure and access rules that object classes must adhere to be successfully validated. There are four types of rules that can be created: attribute rules, connectivity rules (edge and junction), relationship rules, and topology rules.
When To Use
The IRule interface is used to get and set the common properties for all rule types. For example, you can set or get the category, help string, and ID for the rule and you can also get an esriRuleType value, representing the rule's type. You would use IRule when you want to create rules for a particular object class so that it can be validated.
Members
Description | ||
---|---|---|
Category | The name associated with the validation rule. | |
Helpstring | The helpstring associated with the validation rule. | |
ID | The ID of the validation rule. | |
Type | The type associated with the validation rule. |
CoClasses that implement IRule
CoClasses and Classes | Description |
---|---|
AttributeRule | Esri attribute rule object. |
EdgeConnectivityRule | Esri Edge-Edge NetworkConnectivity rule object. |
JunctionConnectivityRule | Esri Junction-Edge NetworkConnectivity rule object. |
RelationshipRule | Esri relationship rule object. |
TopologyRule | Esri Topology Rule object. |