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