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


ITopologyErrorFeature.TopologyRule Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITopologyErrorFeature.TopologyRule Property

The topology rule that caused the topology error.

[Visual Basic .NET]
Public ReadOnly Property TopologyRule As IRule
[C#]
public IRule TopologyRule {get;}
[C++]
HRESULT get_TopologyRule(
  IRule** Rule
);
[C++]

Parameters Rule [out, retval]
Rule is a parameter of type IRule

Product Availability

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

Remarks

The TopologyRule property returns an IRule object corresponding to the topology rule.  This can be used to get the unique ID of the topology rule using IRule::ID or obtain a ITopologyRule object.  TopologyRule provides access the properties of the topology rule that the Error feature has violated. Note that each Topology has one inherent rule, esriTRTFeatureLargerThanClusterTolerance. It can be identified by checking the ITopologyErrorFeature::TopologyRuleType property

 

 

See Also

ITopologyErrorFeature Interface