This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeometricNetwork Interface > IGeometricNetwork.AddRule Method (ArcObjects .NET 10.5 SDK) |
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