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


INetworkForwardStarAdjacencies.QueryToJunction Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarAdjacencies Interface > INetworkForwardStarAdjacencies.QueryToJunction Method
ArcGIS Developer Help

INetworkForwardStarAdjacencies.QueryToJunction Method

For the adjacent edge element at the specified index, queries the junction element opposite of the atJunction.

[Visual Basic .NET]
Public Sub QueryToJunction ( _
    ByVal Index As Integer, _
    ByVal adjacentJunction As INetworkJunction, _
    ByRef IsFiltered As Boolean _
)
[C#]
public void QueryToJunction (
    int Index,
    INetworkJunction adjacentJunction,
    ref bool IsFiltered
);
[C++]
HRESULT QueryToJunction(
  long Index,
  INetworkJunction* adjacentJunction,
  Boolean* IsFiltered
);
[C++]
Parameters
Index [in]

Index is a parameter of type long adjacentJunction [in]
adjacentJunction is a parameter of type INetworkJunction* IsFiltered [out]
IsFiltered is a parameter of type bool*

Product Availability

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

Remarks

The QueryToJunction method returns the junction element that is opposite the atJunction via the QueryEdge edge element at the specified index.

The index values range from 0 to (Count - 1).

The QueryToJunction method requires an instantiated NetworkJunction object to be passed in as a parameter.  You can create an empty NetworkJunction object by using the INetworkQuery::CreateNetworkElement method.

See Also

INetworkForwardStarAdjacencies Interface