Provides access to members that manage rules and validate them.
Description
The IValidation2 interface is used when triggering the validation process on an ObjectClass.
Members
Name | Description | |
---|---|---|
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. |
IValidation2.AlterRule Method
Alter the existing validation rule.
Public Sub AlterRule ( _
ByVal Rule As IRule _
)
public void AlterRule (
IRule Rule
);
Remarks
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.
Inherited Interfaces
Interfaces | Description |
---|---|
IValidation | Provides access to members that manage rules and validate them. |
Classes that implement IValidation2
Classes | Description |
---|---|
FeatureClass | Esri Feature Class object. |
ObjectClass | Esri Object Class object. |
ObjectClassValidator | Esri ObjectClassValidator object. |