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


INetworkForwardStarAdjacencies.QueryToJunction Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  VARIANT_BOOL* 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 VARIANT_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