This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkFeature Interface > INetworkFeature.Connect Method (ArcObjects .NET 10.5 SDK) |
Connect the Feature to the geometrically coincident NetworkFeature.
[Visual Basic .NET]
Public Sub Connect ( _
)
[C#] public void Connect ( );
[C++]
HRESULT Connect(
void
);
All edits to features that participate in a Geometric Network must be performed within an edit session and bracketed within an edit operation.
Looping through a collection or enumeration of junctions and calling Connect on each one to establish connectivity with a complex edge feature is an expensive operation. Calling IComplexEdgeFeature::ConnectatIntermediateVertices once on the complex edge feature will result in increased performance with the same resultant connectivity.
INetworkFeature Interface | IComplexEdgeFeature.ConnectAtIntermediateVertices Method