This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IErrorFeatureContainer Interface > IErrorFeatureContainer.ErrorFeaturesByGeometryType Property (ArcObjects .NET 10.4 SDK) |
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 VARIANT_BOOL ErrorFeatures [out, retval]
ErrorFeatures is a parameter of type IEnumTopologyErrorFeature
FDO_E_INVALID_GEOMETRY_TYPE_FOR_TOPOLOGY - When an unsupported esriGeometryType is specified for the GeometryType parameter.
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.