ArcObjects Library Reference (GeoDatabase)  

ITopologyErrorFeature.DestinationOID Property

ObjectID of the destination feature that created the topology error.

[Visual Basic .NET]
Public ReadOnly Property DestinationOID As Integer
[C#]
public int DestinationOID {get;}
[C++]
HRESULT get_DestinationOID(
  long* OID
);
[C++]

Parameters

OID [out, retval]   OID is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The OriginOID and DestinationOID properties represent the object IDs of the origin and destination features that created the topology error.

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.

See Also

ITopologyErrorFeature Interface

.NET Related Topics

Checking for topology error features in a geodatabase topology