This document is archived and information here might be outdated.  Recommended version.


ITopologyErrorFeature.OriginClassID Property (ArcObjects .NET 10.4 SDK)
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
[C#]
public int OriginClassID {get;}
[C++]
HRESULT get_OriginClassID(
  long* ClassID
);
[C++]

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

Product Availability

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

Remarks

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