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


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

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