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


IForwardStar.QueryAdjacentJunction Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IForwardStar Interface > IForwardStar.QueryAdjacentJunction Method
ArcGIS Developer Help

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,
  System.Int32* 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