ArcObjects Library Reference (GeoDatabase)  

IGeometricNetwork.AddRule Method

Adds the constraint to the set of connectivity rules.

[Visual Basic .NET]
Public Sub AddRule ( _
    ByVal Rule As IConnectivityRule _
)
[C#]
public void AddRule (
    IConnectivityRule Rule
);
[C++]
HRESULT AddRule(
  IConnectivityRule* Rule
);
[C++]

Parameters

Rule [in]

  Rule is a parameter of type IConnectivityRule

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