![]() |
This document is archived and information here might be outdated. Recommended version. |
An error feature with that matches the passed in parameters.
[Visual Basic .NET] Public Function get_ErrorFeature ( _ ByVal SpatialReference As ISpatialReference, _ ByVal errorType As esriTopologyRuleType, _ ByVal GeometryType As esriGeometryType, _ ByVal OriginClassID As Integer, _ ByVal OriginOID As Integer, _ ByVal DestinationClassID As Integer, _ ByVal DestinationOID As Integer _ ) As ITopologyErrorFeature
[C#] public ITopologyErrorFeature get_ErrorFeature ( ISpatialReference SpatialReference, esriTopologyRuleType errorType, esriGeometryType GeometryType, int OriginClassID, int OriginOID, int DestinationClassID, int DestinationOID );
[C++]
HRESULT get_ErrorFeature(
ISpatialReference* SpatialReference,
esriTopologyRuleType errorType,
esriGeometryType GeometryType,
long OriginClassID,
long OriginOID,
long DestinationClassID,
long DestinationOID,
ITopologyErrorFeature** ErrorFeature
);
[C++] Parameters SpatialReference [in]
SpatialReference is a parameter of type ISpatialReference* errorType [in]
errorType is a parameter of type esriTopologyRuleType GeometryType [in]
GeometryType is a parameter of type esriGeometryType OriginClassID [in]
OriginClassID is a parameter of type long OriginOID [in]
OriginOID is a parameter of type long DestinationClassID [in]
DestinationClassID is a parameter of type long DestinationOID [in]
DestinationOID is a parameter of type long ErrorFeature [out, retval]
ErrorFeature is a parameter of type ITopologyErrorFeature**
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.