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


ITopologyRuleContainer.RulesByClass 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.RulesByClass Property
ArcGIS Developer Help

ITopologyRuleContainer.RulesByClass Property

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**

Product Availability

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

Remarks

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.

See Also

ITopologyRuleContainer Interface