|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarAdjacencies Interface > INetworkForwardStarAdjacencies.QueryAtJunction Method (ArcObjects .NET 10.4 SDK) | 
Queries the junction element used as the atJunction in the NetworkForwardStar object.
[Visual Basic .NET] Public Sub QueryAtJunction ( _ ByVal Junction As INetworkJunction _ )
[C#] public void QueryAtJunction ( INetworkJunction Junction );
[C++]
HRESULT QueryAtJunction(
  INetworkJunction* Junction
);
[C++]
Parameters Junction [in]
Junction is a parameter of type INetworkJunction
The QueryAtJunction method retrieves the junction element used by the INetworkForwardStar::QueryAdjacencies method.
The QueryAtJunction method requires an instantiated NetworkJunction object to be passed in as a parameter. You can create an empty NetworkJunction object by using the INetworkQuery::CreateNetworkElement method.