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

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

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 _
public void QueryEdge (
    int Index,
    INetworkEdge Edge
HRESULT QueryEdge(
  long Index,
  INetworkEdge* Edge
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.


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