ArcObjects Library Reference (GeoDatabase)  

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,
  long* junctionEID
);
[C++]

Parameters

junctionDescription [in]

  junctionDescription is a parameter of type INetElementDescription

junctionEID [out, retval]   junctionEID is a parameter of type long

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