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


INALocationRanges.AddEdgeRange Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALocationRanges.AddEdgeRange Method

Adds an edge EID, as well as the direction and the specified range of positions along that edge, to the NALocationRanges object.

[Visual Basic .NET]
Public Sub AddEdgeRange ( _
    ByVal edgeEID As Integer, _
    ByVal Direction As esriNetworkEdgeDirection, _
    ByVal FromPosition As Double, _
    ByVal ToPosition As Double _
)
[C#]
public void AddEdgeRange (
    int edgeEID,
    esriNetworkEdgeDirection Direction,
    double FromPosition,
    double ToPosition
);
[C++]
HRESULT AddEdgeRange(
  long edgeEID,
  esriNetworkEdgeDirection Direction,
  double FromPosition,
  double ToPosition
);
[C++]

Parameters edgeEID [in] edgeEID is a parameter of type long Direction [in]
Direction is a parameter of type esriNetworkEdgeDirection FromPosition [in] FromPosition is a parameter of type double ToPosition [in] ToPosition is a parameter of type double

Product Availability

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

Remarks

Adds an edge EID, as well as the direction and the specified range along that edge, to the set held by the NALocationRanges object.

See Also

INALocationRanges Interface

.NET Samples

ArcGIS Network Analyst extension barrier location editor (Code Files: EditorForm)