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


ITopologyRuleContainer.Rule Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyRuleContainer Interface > ITopologyRuleContainer.Rule Property
ArcGIS Developer Help

ITopologyRuleContainer.Rule Property

The topology rule with the corresponding ID.

[Visual Basic .NET]
Public Function get_Rule ( _
    ByVal RuleID As Integer _
) As IRule
[C#]
public IRule get_Rule (
    int RuleID
);
[C++]
HRESULT get_Rule(
  long RuleID,
  IRule** Rule
);
[C++]
Parameters
RuleID [in]

RuleID is a parameter of type long Rule [out, retval]
Rule is a parameter of type IRule**

Product Availability

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

Remarks

The Rule property returns rule corresponding to the supplied ID.  The RuleID is the internal ID of the topology rule as stored in the geodatabase system tables and is unique within the geodatabase.  To get the ID of the topology rule, QI to the IRule interface and use the IRule::ID property.

See Also

ITopologyRuleContainer Interface