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


INetworkForwardStarEx.QueryTurn Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkForwardStarEx.QueryTurn Method

Performs a network turn element query by element ID and populates the given turn element object.

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

Parameters EID [in] EID 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

QueryTurn takes an element ID for a turn and populates the passed-in NetworkTurn object.

This method is analogous to the existing INetworkQuery::QueryTurn method, except that the NetworkForwardStar will initialize the queried element with any potential attribute adjustment information.

Any queried edge should be either initialized directly from the QueryTurn method or the INetworkForwardStarAdjacencies::QueryTurn method in order to ensure proper element awareness of attribute adjustments.

See Also

INetworkForwardStarEx Interface