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


IGeometricNetwork.AddRule Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeometricNetwork Interface > IGeometricNetwork.AddRule Method
ArcGIS Developer Help

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