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

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

INetworkQuery.QueryJunction Method

Performs a network junction element query by element ID and populates the given junction element object.

[Visual Basic .NET]
Public Sub QueryJunction ( _
    ByVal EID As Integer, _
    ByVal Junction As INetworkJunction _
public void QueryJunction (
    int EID,
    INetworkJunction Junction
HRESULT QueryJunction(
  long EID,
  INetworkJunction* Junction
EID [in]

EID is a parameter of type long Junction [in]
Junction is a parameter of type INetworkJunction*

Product Availability

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


The QueryJunction method requires an instantiated NetworkJunction object to be passed in as a parameter.  You can create an empty NetworkJunction object by using the CreateNetworkElement method.

See Also

INetworkQuery Interface

.NET Samples

ArcGIS Network Analyst extension barrier location editor