ArcObjects Library Reference (GeoDatabase)  

IForwardStar.QueryAdjacentJunction Method

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 _
public void QueryAdjacentJunction (
    int Index,
    ref int adjacentJunctionEID,
    ref object adjacentJunctionWeightValue
HRESULT QueryAdjacentJunction(
  long Index,
  long* adjacentJunctionEID,
  VARIANT* adjacentJunctionWeightValue


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

Product Availability

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


Index is a number between 0 and n -1, where n is the number of adjacent edges returned by FindAdjacent. AdjacentJunctionWeightValue is the value of the weight specified in the CreateForwardStar method of the INetwork interface.

See Also

IForwardStar Interface | IForwardStar.QueryAtTurn Method | IForwardStar.QueryAtTurns Method | IForwardStar.QueryAdjacentJunctions Method | IForwardStar.QueryAdjacentEdge Method | INetwork.CreateForwardStar Method | IForwardStar.QueryAdjacentJunction Method | IForwardStar.QueryAdjacentEdges Method | IForwardStar.FindAdjacent Method | IForwardStar.Network Property