Interface IErrorFeatureContainer

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that return error features.

[Guid("27C444DC-25EE-41FF-A2BD-C69B6343A6C3")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IErrorFeatureContainer

Remarks

The IErrorFeatureContainer interface contains properties that can be used to return the error features associated with a Topology. Each property on IErrorFeatureContainer requires the spatial reference of the Topology.

Properties

ErrorFeature[ISpatialReference, esriTopologyRuleType, esriGeometryType, int, long, int, long]

An error feature with that matches the passed in parameters.

ITopologyErrorFeature ErrorFeature[ISpatialReference SpatialReference, esriTopologyRuleType errorType, esriGeometryType GeometryType, int OriginClassID, long OriginOID, int DestinationClassID, long DestinationOID] { get; }

Parameters

SpatialReference ISpatialReference
errorType esriTopologyRuleType
GeometryType esriGeometryType
OriginClassID int
OriginOID long
DestinationClassID int
DestinationOID long

Property Value

ITopologyErrorFeature

Remarks

ErrorFeature returns an ITopologyErrorFeature corresponding to the specified parameters. If no error feature exists that matches the parameters, ITopologyErrorFeature is nothing.

ErrorFeature requires the spatial reference of the Topology, this can be obtained from the IGeoDataset interface.

ErrorFeatures[ISpatialReference, ITopologyRule, IEnvelope, bool, bool]

An enumeration of error features that match the passed in parameters.

IEnumTopologyErrorFeature ErrorFeatures[ISpatialReference SpatialReference, ITopologyRule Rule, IEnvelope Extent, bool Errors, bool Exceptions] { get; }

Parameters

SpatialReference ISpatialReference
Rule ITopologyRule
Extent IEnvelope
Errors bool
Exceptions bool

Property Value

IEnumTopologyErrorFeature

Remarks

ErrorFeatures will return an enumeration of error features belonging to the Topology Rule and within the Envelope that is supplied. The enumeration can contain Errors, errors marked as Exceptions or Both. To determine if a TopologyErrorFeature has been marked as an Exception, use the ITopologyErrorFeature::IsException property. If no error feature exists that matches the parameters, an empty enumeration is returned.

ErrorFeatures requires the spatial reference of the Topology, this can be obtained from the IGeoDataset interface.

ErrorFeaturesByGeometryType[ISpatialReference, esriGeometryType, bool]

An enumeration of error features that match the passed in parameters.

IEnumTopologyErrorFeature ErrorFeaturesByGeometryType[ISpatialReference SpatialReference, esriGeometryType GeometryType, bool Exceptions] { get; }

Parameters

SpatialReference ISpatialReference
GeometryType esriGeometryType
Exceptions bool

Property Value

IEnumTopologyErrorFeature

Remarks

ErrorFeaturesByGeometryType returns an enumeration, IEnumTopologyErrorFeature of error features corresponding to the specified parameters. If no error features corresponding to the specified parameters exist, an empty enumeration is returned.

The GeometryType parameter accepts three supported esriGeometryType:

  • esriGeometryPoint
  • esriGeometryPolyline
  • esriGeometryPolygon

Exceptions indicates whether Exceptions or Errors will be returned. If Exceptions is True, the enumeration will only contain Exceptions, otherwise the enumeration will contain Errors.

ErrorFeaturesByGeometryType requires the spatial reference of the Topology, this can be obtained from the IGeoDataset interface.

ErrorFeaturesByRuleType[ISpatialReference, esriTopologyRuleType, IEnvelope, bool, bool]

An enumeration of error features that match the passed in parameters.

IEnumTopologyErrorFeature ErrorFeaturesByRuleType[ISpatialReference SpatialReference, esriTopologyRuleType TopologyRuleType, IEnvelope Extent, bool Errors, bool Exceptions] { get; }

Parameters

SpatialReference ISpatialReference
TopologyRuleType esriTopologyRuleType
Extent IEnvelope
Errors bool
Exceptions bool

Property Value

IEnumTopologyErrorFeature

Remarks

ErrorFeaturesByRuleType will return an enumeration of error features belonging to the type of topology rule that is supplied.  This is different from ErrorFeatures which returns the error features belonging to a particular rule of the Topology. The enumeration can contain Errors, errors marked as Exceptions or Both. To determine if a TopologyErrorFeature has been marked as an Exception, use the ITopologyErrorFeature::IsException property. If no error feature exists that matches the parameters, an empty enumeration is returned.

ErrorFeaturesByRuleType requires the spatial reference of the Topology, this can be obtained from the IGeoDataset interface.