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


INetworkForwardStarEx.QueryJunction Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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

QueryJunction takes an element ID for a junction and populates the passed-in NetworkJunction object.

This method is analogous to the existing INetworkQuery::QueryJunction method, except that the NetworkForwardStar will initialize the queried element with any potential attribute adjustment information.

Any queried junction should be either initialized directly from the QueryJunction method, the INetworkForwardStarAdjacencies::QueryAtJunction, or the INetworkForwardStarAdjacencies::QueryToJunction method in order to ensure proper element awareness of attribute adjustments.

See Also

INetworkForwardStarEx Interface