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


IErrorFeatureContainer.ErrorFeaturesByGeometryType 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.ErrorFeaturesByGeometryType Property
ArcGIS Developer Help

IErrorFeatureContainer.ErrorFeaturesByGeometryType Property

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

[Visual Basic .NET]
Public Function get_ErrorFeaturesByGeometryType ( _
    ByVal SpatialReference As ISpatialReference, _
    ByVal GeometryType As esriGeometryType, _
    ByVal Exceptions As Boolean _
) As IEnumTopologyErrorFeature
[C#]
public IEnumTopologyErrorFeature get_ErrorFeaturesByGeometryType (
    ISpatialReference SpatialReference,
    esriGeometryType GeometryType,
    bool Exceptions
);
[C++]
HRESULT get_ErrorFeaturesByGeometryType(
  ISpatialReference* SpatialReference,
  esriGeometryType GeometryType,
  VARIANT_BOOL Exceptions,
  IEnumTopologyErrorFeature** ErrorFeatures
);
[C++]
Parameters
SpatialReference [in]

SpatialReference is a parameter of type ISpatialReference* GeometryType [in]
GeometryType is a parameter of type esriGeometryType 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

FDO_E_INVALID_GEOMETRY_TYPE_FOR_TOPOLOGY - When an unsupported esriGeometryType is specified for the GeometryType parameter.

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:

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.

See Also

IErrorFeatureContainer Interface