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 > INetTopologyEdit Interface > INetTopologyEdit.AddJunction Method (ArcObjects .NET 10.5 SDK) |
Adds a junction element to the logical network.
[Visual Basic .NET] Public Function AddJunction ( _ ByVal junctionDescription As INetElementDescription _ ) As Integer
[C#] public int AddJunction ( INetElementDescription junctionDescription );
[C++]
HRESULT AddJunction(
INetElementDescription* junctionDescription,
long* junctionEID
);
[C++]
Parameters junctionDescription [in]
junctionDescription is a parameter of type INetElementDescription junctionEID [out, retval] junctionEID is a parameter of type long
The value returned by AddJunction is the Element ID (EID) for the newly created junction. This value is unique.
Unlike edges, a junction can exist in a logical network without attachment to any edges. When a junction exits in this state (once it has been created using this function call), it is not connected to any other portion of the network, but may have edges connected to it so that it will be part of the network.
Only use this method on stand-alone logical networks.