This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyRuleContainer Interface > ITopologyRuleContainer.Rule Property (ArcObjects .NET 10.4 SDK) |
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
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.