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


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

INetworkEdge.QueryTurn Method

Queries the index'th network turn element in which this network edge element participates.

[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 that traverses this edge at the specified index.  The index values range from 0 to (TurnCount - 1).

The QueryTurn 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

INetworkEdge Interface