ArcObjects Library Reference (GeoDatabase)  

INetworkEdge.QueryJunctions Method

Queries the network junction elements adjacent to this network edge element.

[Visual Basic .NET]
Public Sub QueryJunctions ( _
    ByVal FromJunction As INetworkJunction, _
    ByVal ToJunction As INetworkJunction _
)
[C#]
public void QueryJunctions (
    INetworkJunction FromJunction,
    INetworkJunction ToJunction
);
[C++]
HRESULT QueryJunctions(
  INetworkJunction* FromJunction,
  INetworkJunction* ToJunction
);
[C++]

Parameters

FromJunction [in]

  FromJunction is a parameter of type INetworkJunction

ToJunction [in]

  ToJunction is a parameter of type INetworkJunction

Product Availability

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

Remarks

The QueryJunctions method retrieves the junction elements at the ends of this edge element.

This method requires two instantiated NetworkJunction objects to be passed in as a parameter.  You can create an empty NetworkJunction object by using the INetworkQuery::CreateNetworkElement method.

See Also

INetworkEdge Interface