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


INetworkJunction.QueryTurn Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkJunction.QueryTurn Method

Queries the index'th network turn element anchored at this network junction element.

[Visual Basic .NET]
Public Sub QueryTurn ( _
    ByVal Index As Integer, _
    ByVal Turn As INetworkTurn _
)
[C#]
public void QueryTurn (
    int Index,
    INetworkTurn Turn
);
[C++]
HRESULT QueryTurn(
  long Index,
  INetworkTurn* Turn
);
[C++]

Parameters Index [in]
Index is a parameter of type long Turn [in]
Turn is a parameter of type INetworkTurn*

Product Availability

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

Remarks

The QueryTurn method retrieves the turn element anchored to this junction at the specified index.  A turn element is anchored at a junction if the last two edges of the turn pass through the junction.  The index values range from 0 to (TurnCount - 1).

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

See Also

INetworkJunction Interface