ArcObjects Library Reference (GeoDatabase)  

ITopologyErrorFeature.OriginClassID Property

ObjectClassID of the origin feature that created the topology error.

[Visual Basic .NET]
Public ReadOnly Property OriginClassID As Integer
public int OriginClassID {get;}
HRESULT get_OriginClassID(
  long* ClassID


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

Product Availability

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


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.

See Also

ITopologyErrorFeature Interface

.NET Related Topics

Checking for topology error features in a geodatabase topology