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


INALocationRanges.QueryEdgeRange Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocationRanges Interface > INALocationRanges.QueryEdgeRange Method
ArcGIS Developer Help

INALocationRanges.QueryEdgeRange Method

Retrieves the edge EID, along with the direction and the range of positions along that edge, stored at the specified index in the NALocationRanges object.

[Visual Basic .NET]
Public Sub QueryEdgeRange ( _
    ByVal Index As Integer, _
    ByRef edgeEID As Integer, _
    ByRef Direction As esriNetworkEdgeDirection, _
    ByRef FromPosition As Double, _
    ByRef ToPosition As Double _
)
[C#]
public void QueryEdgeRange (
    int Index,
    ref int edgeEID,
    ref esriNetworkEdgeDirection Direction,
    ref double FromPosition,
    ref double ToPosition
);
[C++]
HRESULT QueryEdgeRange(
  long Index,
  System.Int32* edgeEID,
  esriNetworkEdgeDirection* Direction,
  System.Double* FromPosition,
  System.Double* ToPosition
);
[C++]
Parameters
Index [in]

Index is a parameter of type long edgeEID [in, out]
edgeEID is a parameter of type long* Direction [in, out]
Direction is a parameter of type esriNetworkEdgeDirection* FromPosition [in, out]
FromPosition is a parameter of type double* ToPosition [in, out]
ToPosition is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

Retrieves by index one of the edge EIDs, along with the direction and the range along that edge, held by the NALocationRanges object.

See Also

INALocationRanges Interface

.NET Samples

ArcGIS Network Analyst extension barrier location editor