This document is archived and information here might be outdated. Recommended version. |
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*
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.