This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyRuleContainer Interface > ITopologyRuleContainer.RulesByClass Property (ArcObjects .NET 10.4 SDK) |
An enumeration of all the rules for a given class.
[Visual Basic .NET] Public Function get_RulesByClass ( _ ByVal ClassID As Integer _ ) As IEnumRule
[C#] public IEnumRule get_RulesByClass ( int ClassID );
[C++]
HRESULT get_RulesByClass(
long ClassID,
IEnumRule** Rules
);
[C++]
Parameters ClassID [in] ClassID is a parameter of type long Rules [out, retval]
Rules is a parameter of type IEnumRule
The RulesByClass property returns an enumerator of the rules associated with a particular class in the topology, given the feature class� Object Class ID. If Object Class ID corresponding to a feature class that is not in the Topology is supplied, an empty enumerator is returned.