Provides access to members that manage rules and validate them.
The IValidation2 interface is used when triggering the validation process on an ObjectClass.
|AddRule||Adds the rule to the set of associated rules.|
|AlterRule||Alter the existing validation rule.|
|DeleteRule||Deletes the rule from the set of associated rules.|
|Rules||The rules associated with the class.|
|RulesByField||The rules associated with the attribute.|
|RulesBySubtypeCode||The rules associated with the subtype.|
|Validate||Validates the selection.|
|ValidateSelection||Validates the selection.|
|ValidateSet||Validates the set.|
Alter the existing validation rule.
Public Sub AlterRule ( _ ByVal Rule As IRule _ )
public void AlterRule ( IRule Rule );
The AlterRule method is used to change the characteristics of an existing rule. This is currently implemented to change a subset of properties for connectivity rules only. These properties are:
- minimum and maximum cardinalities
- default junction for junction connectivity rules
- default junction classID for edge connectivity rules
- default junction subtype code for edge connectivity rules
To alter other properties of a connectivity rule, the rule must be deleted and recreated with the appropriate changes.
|IValidation||Provides access to members that manage rules and validate them.|
|FeatureClass||Esri Feature Class object.|
|ObjectClass||Esri Object Class object.|
|ObjectClassValidator||Esri ObjectClassValidator object.|