ArcObjects Library Reference  (GeoDatabase)    

IValidate Interface

Provides access to members to validate individual features.

Product Availability

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

Description

IValidate interface is a member of the Row coclass. It is used to validate the row. Also you can get the invalid fields, and invalid rules for the given row object.

Members

Description
Method GetInvalidFields Returns all invalid fields.
Method GetInvalidRules The set of all invalid rules.
Method GetInvalidRulesByField The set of all invalid rules for the specified field.
Method Validate Validates the row.

CoClasses that implement IValidate

CoClasses and Classes Description
AnnotationFeature (esriCarto) An ESRI annotation feature.
AttributedRelationship ESRI Attributed Relationship.
ComplexEdgeFeature ESRI Complex edge geometric network feature.
ComplexJunctionFeature ESRI Complex junction geometric network feature.
CoverageAnnotationFeature ESRI Coverage Annotation Feature.
DimensionFeature (esriCarto) ESRI Dimension Feature class.
Feature ESRI Feature.
GeocodedFeature (esriLocation) A feature created by a locator.
NALocationFeature (esriNetworkAnalyst) A network location which can be used like feature a row.
NALocationObject (esriNetworkAnalyst) A network location which can be used like a row.
NATraversalResultElement (esriNetworkAnalyst) An individual element in a traversal result.
Object ESRI Object.
RasterCatalogItem Raster Catalog Feature Class.
Row ESRI Row.
SchematicDiagram (esriSchematic) Schematic diagram object.
SchematicDrawing (esriSchematic) Schematic drawing object.
SchematicLink (esriSchematic) Schematic link object.
SchematicNode (esriSchematic) Schematic node object.
SchematicNodeOnLink (esriSchematic) Schematic node-on-link object.
SchematicSubLink (esriSchematic) Schematic sublink object.
SimpleEdgeFeature ESRI Geometric network edge feature.
SimpleJunctionFeature ESRI Geometric network simple junction feature.
TopologyErrorFeature ESRI Topology Error Feature.

Remarks

The IValidate interface is used to test a row against the geodatabase rules defined for its object class. While the IValidation interface will validate a whole set of rows at once, IValidate operates on just one row; this can be useful if you want to validate the row immediately. IValidate also offers more detailed information on the failures; the Validate method returns an error message, and the other methods help identify what is wrong.

IValidate is not implemented on attributed relationship classes.

 


Feedback Send feedback on this page