ArcObjects Library Reference (GeoDatabase)  

IGeometricNetwork.RulesByClassAndSubtype Property

The connectivity rules associated with the class and subtype.

[Visual Basic .NET]
Public Function get_RulesByClassAndSubtype ( _
    ByVal ClassID As Integer, _
    ByVal SubtypeCode As Integer _
) As IEnumRule
[C#]
public IEnumRule get_RulesByClassAndSubtype (
    int ClassID,
    int SubtypeCode
);
[C++]
HRESULT get_RulesByClassAndSubtype(
  long ClassID,
  long SubtypeCode,
  IEnumRule** Rules
);
[C++]

Parameters

ClassID [in]   ClassID is a parameter of type long SubtypeCode [in]   SubtypeCode 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.

See Also

IGeometricNetwork Interface

.NET Related Topics

Adding and working with connectivity rules in a geometric network |