This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyErrorFeature Interface > ITopologyErrorFeature.DestinationClassID Property (ArcObjects .NET 10.4 SDK) |
ObjectClassID of the destination feature that created the topology error.
[Visual Basic .NET] Public ReadOnly Property DestinationClassID As Integer
[C#] public int DestinationClassID {get;}
[C++]
HRESULT get_DestinationClassID(
long* ClassID
);
[C++]
Parameters ClassID [out, retval] ClassID is a parameter of type long
The OriginClassID and DestinationClassID properties represent the object class IDs of the origin and destination feature classes of the topology rule.
In general, all topology errors for which only the origin class has been specified will return values for the OriginClassID and OriginOID properties and a value of zero for the DestinationClassID and DestinationOID properties. The exception is for topology errors generated from the esriTRTNoGaps rule, which will return a value of zero for the OriginOID as well as DestinationClassID and DestinationOID properties. In addition, topology rules whose origin and destination feature class have been specified will generally return zero for the Destination feature class properties. The exceptions to this rule are:
The exception to both of these statements is the esriTRTAreaAreaCoverEachOther rule, which may generate topology errors referencing either the Origin or Destination feature class.