ArcGIS Developer Help  (GeoDatabase)    

ITopologyRuleContainer.RulesByClassAndSubtype Property

An enumeration of all the rules for a given class and subtype.

[Visual Basic 6.0]
Property RulesByClassAndSubtype(
    ByVal ClassID As Long, _
    ByVal SubType As Long _
) As IEnumRule
[Visual Basic .NET]
Public Function get_RulesByClassAndSubtype ( _
    ByVal ClassID As Integer, _
    ByVal SubType As Integer _
) As IEnumRule
[C#]
public IEnumRule get_RulesByClassAndSubtype (
    int ClassID,
    int SubType
);
[Java]
public IEnumRule getRulesByClassAndSubtype (
    Long ClassID,
    Long SubType
)
[C++]
HRESULT get_RulesByClassAndSubtype(
  long ClassID,
  long SubType,
  IEnumRule** Rules
);
[C++]

Parameters

ClassID [in]

  ClassID is a parameter of type long

SubType [in]

  SubType 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 RulesByClassAndSubtype property returns an enumeration of the rules associated with a particular class/subtype pair in the topology.  If the Object Class ID corresponds to a feature class that is not in the Topology or the Subtype value does not exist, an empty enumeration is returned.

See Also

ITopologyRuleContainer Interface

 


Feedback Send feedback on this page