This document is archived and information here might be outdated.  Recommended version.


IValidation2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IValidation2 Interface

Provides access to members that manage rules and validate them.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IValidation2 interface is used when triggering the validation process on an ObjectClass.

Members

Description
Method AddRule Adds the rule to the set of associated rules.
Method AlterRule Alter the existing validation rule.
Method DeleteRule Deletes the rule from the set of associated rules.
Read-only property Rules The rules associated with the class.
Read-only property RulesByField The rules associated with the attribute.
Read-only property RulesBySubtypeCode The rules associated with the subtype.
Method Validate Validates the selection.
Method ValidateSelection Validates the selection.
Method ValidateSet Validates the set.

Inherited Interfaces

Interfaces Description
IValidation Provides access to members that manage rules and validate them.

CoClasses that implement IValidation2

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.