|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IForwardStar Interface > IForwardStar.QueryAdjacentJunction Method (ArcObjects .NET 10.4 SDK) | 
Returns the opposite junction of the index'th adjacent edge found with FindAdjacent, and the weight value for this junction.
[Visual Basic .NET] Public Sub QueryAdjacentJunction ( _ ByVal Index As Integer, _ ByRef adjacentJunctionEID As Integer, _ ByRef adjacentJunctionWeightValue As Object _ )
[C#] public void QueryAdjacentJunction ( int Index, ref int adjacentJunctionEID, ref object adjacentJunctionWeightValue );
[C++]
HRESULT QueryAdjacentJunction(
  long Index,
  long* adjacentJunctionEID,
  VARIANT* adjacentJunctionWeightValue
);
[C++]
Parameters Index [in] Index is a parameter of type long adjacentJunctionEID [out] adjacentJunctionEID is a parameter of type long adjacentJunctionWeightValue [out] adjacentJunctionWeightValue is a parameter of type VARIANT
IForwardStar Interface | IForwardStar.QueryAdjacentEdge Method | IForwardStar.QueryAdjacentJunctions Method | IForwardStar.QueryAtTurns Method | IForwardStar.QueryAtTurn Method | IForwardStar.FindAdjacent Method | IForwardStar.QueryAdjacentEdges Method | IForwardStar.Network Property | IForwardStar.QueryAdjacentJunction Method | INetwork.CreateForwardStar Method