Provides access to members that manage rules and validate them. Note: the IValidation interface has been superseded byIValidation2. Please consider using the more recent version.
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
IValidation interface is a member of the ObjectClass coclass. It is used to maintain rules, and also to validate the workspace or object class based on the rules associated with it. Rules can be added, deleted, and validated through this interface. Also rule objects associated with the object class can be obtained from this interface.
When To Use
IValidation is the interface on a ObjectClass object used to add/delete rules, as well as validate those rules against the current object class. For example, use the IValidation interface to add a connectivity/attribute rule to this particular object class. You can then create a query filter based on this object class and use the validate function to see if there are any features that are considered invalid based on these rules.
|AddRule||Adds the rule to the set of associated rules.|
|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.|
CoClasses that implement IValidation
|CoClasses and Classes||Description|
|FeatureClass||Esri Feature Class object.|
|ObjectClass||Esri Object Class object.|
|ObjectClassValidator||Esri ObjectClassValidator object.|
|SchematicDiagramClass (esriSchematic)||Schematic diagram class object.|
|SchematicElementClass (esriSchematic)||Schematic element class object.|
|TemporalRecordSet (esriTrackingAnalyst)||Defines the COM coclass for the TemporalRecordSet COM object.|