This document is archived and information here might be outdated. Recommended version. |
Performs a network edge element query by element ID and edge direction and populates the given edge element object.
[Visual Basic .NET] Public Sub QueryEdge ( _ ByVal EID As Integer, _ ByVal Direction As esriNetworkEdgeDirection, _ ByVal Edge As INetworkEdge _ )
[C#] public void QueryEdge ( int EID, esriNetworkEdgeDirection Direction, INetworkEdge Edge );
[C++]
HRESULT QueryEdge(
long EID,
esriNetworkEdgeDirection Direction,
INetworkEdge* Edge
);
[C++]
Parameters EID [in]
EID is a parameter of type long Direction [in]
Direction is a parameter of type esriNetworkEdgeDirection Edge [in]
Edge is a parameter of type INetworkEdge*
The QueryEdge method requires an instantiated NetworkEdge object to be passed in as a parameter. You can create an empty NetworkEdge object by using the CreateNetworkElement method.