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


INetTopologyEdit.AddJunction Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetTopologyEdit Interface > INetTopologyEdit.AddJunction Method
ArcGIS Developer Help

INetTopologyEdit.AddJunction Method

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
);
[C++]
Parameters
junctionDescription [in]

junctionDescription is a parameter of type INetElementDescription*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

INetTopologyEdit Interface