ArcGIS Developer Help  (GeoDatabase)    

ITopologyRuleContainer.RulesByClass Property

An enumeration of all the rules for a given class.

[Visual Basic 6.0]
Property RulesByClass(
    ByVal ClassID As Long _
) As IEnumRule
[Visual Basic .NET]
Public Function get_RulesByClass ( _
    ByVal ClassID As Integer _
) As IEnumRule
[C#]
public IEnumRule get_RulesByClass (
    int ClassID
);
[Java]
public IEnumRule getRulesByClass (
    Long 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 enumeration 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 enumeration is returned.

See Also

ITopologyRuleContainer Interface

 


Feedback Send feedback on this page