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