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


IForwardStar.QueryAdjacentJunction Method (ArcObjects .NET 10.5 SDK)
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 _
)
[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

Product Availability

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

Remarks

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