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


INetworkForwardStarEx.QueryEdge Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkForwardStarEx.QueryEdge Method

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

Product Availability

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

Remarks

QueryEdge takes an element ID for an edge, as well as the direction being traveled along that edge, and populates the passed-in NetworkEdge object.

This method is analogous to the existing INetworkQuery::QueryEdge 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 QueryEdge method or the INetworkForwardStarAdjacencies::QueryEdge method in order to ensure proper element awareness of attribute adjustments.

See Also

INetworkForwardStarEx Interface