This document is archived and information here might be outdated. Recommended version. |
An enumeration of error features that match the passed in parameters.
[Visual Basic .NET] Public Function get_ErrorFeaturesByRuleType ( _ ByVal SpatialReference As ISpatialReference, _ ByVal TopologyRuleType As esriTopologyRuleType, _ ByVal Extent As IEnvelope, _ ByVal Errors As Boolean, _ ByVal Exceptions As Boolean _ ) As IEnumTopologyErrorFeature
[C#] public IEnumTopologyErrorFeature get_ErrorFeaturesByRuleType ( ISpatialReference SpatialReference, esriTopologyRuleType TopologyRuleType, IEnvelope Extent, bool Errors, bool Exceptions );
[C++]
HRESULT get_ErrorFeaturesByRuleType(
ISpatialReference* SpatialReference,
esriTopologyRuleType TopologyRuleType,
IEnvelope* Extent,
VARIANT_BOOL Errors,
VARIANT_BOOL Exceptions,
IEnumTopologyErrorFeature** ErrorFeatures
);
[C++] Parameters SpatialReference [in]
SpatialReference is a parameter of type ISpatialReference* TopologyRuleType [in]
TopologyRuleType is a parameter of type esriTopologyRuleType 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**
ErrorFeaturesByRuleType will return an error if:
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.