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


INetworkQuery.QueryJunction Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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 _
)
[C#]
public void QueryJunction (
    int EID,
    INetworkJunction Junction
);
[C++]
HRESULT QueryJunction(
  long EID,
  INetworkJunction* Junction
);
[C++]

Parameters 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.

Remarks

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 (Code Files: EditorForm)