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

IErrorFeatureContainer.ErrorFeatures Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IErrorFeatureContainer Interface > IErrorFeatureContainer.ErrorFeatures Property
ArcGIS Developer Help

IErrorFeatureContainer.ErrorFeatures Property

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

[Visual Basic .NET]
Public Function get_ErrorFeatures ( _
    ByVal SpatialReference As ISpatialReference, _
    ByVal Rule As ITopologyRule, _
    ByVal Extent As IEnvelope, _
    ByVal Errors As Boolean, _
    ByVal Exceptions As Boolean _
) As IEnumTopologyErrorFeature
public IEnumTopologyErrorFeature get_ErrorFeatures (
    ISpatialReference SpatialReference,
    ITopologyRule Rule,
    IEnvelope Extent,
    bool Errors,
    bool Exceptions
HRESULT get_ErrorFeatures(
  ISpatialReference* SpatialReference,
  ITopologyRule* Rule,
  IEnvelope* Extent,
  VARIANT_BOOL Exceptions,
  IEnumTopologyErrorFeature** ErrorFeatures
SpatialReference [in]

SpatialReference is a parameter of type ISpatialReference* Rule [in]
Rule is a parameter of type ITopologyRule* Extent [in]
Extent is a parameter of type IEnvelope* Errors [in]
Errors is a parameter of type bool Exceptions [in]
Exceptions is a parameter of type bool ErrorFeatures [out, retval]
ErrorFeatures is a parameter of type IEnumTopologyErrorFeature**

Product Availability

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

Errors Returned

ErrorFeatures will return an error if:


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.

See Also

IErrorFeatureContainer Interface