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


INetworkTurn.QueryEdge Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkTurn.QueryEdge Method

Queries the index'th edge element of this network turn.

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

Parameters Index [in] Index is a parameter of type long Edge [in]
Edge is a parameter of type INetworkEdge

Product Availability

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

Remarks

The QueryEdge method retrieves the edge element traversed by this turn at the specified index.  The index values range from 0 to (EdgeCount - 1).

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

See Also

INetworkTurn Interface