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.FindAdjacent Method | IForwardStar.QueryAdjacentEdge Method | IForwardStar.QueryAdjacentJunction Method | IForwardStar.Network Property | IForwardStar.QueryAdjacentEdges Method | IForwardStar.QueryAdjacentJunctions Method | IForwardStar.QueryAtTurns Method | INetwork.CreateForwardStar Method | IForwardStar.QueryAtTurn Method