This document is archived and information here might be outdated. Recommended version. |
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**
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