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


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

INATraversalResultEdit.CreateEdge Method

Make a new edge in the result.

[Visual Basic .NET]
Public Function CreateEdge ( _
    ByVal SourceID As Integer, _
    ByVal SourceOID As Integer, _
    ByVal FromPosition As Double, _
    ByVal ToPosition As Double, _
    ByVal fromJunctionID As Integer, _
    ByVal toJunctionID As Integer, _
    ByVal polyline As IPolyline _
) As Integer
[C#]
public int CreateEdge (
    int SourceID,
    int SourceOID,
    double FromPosition,
    double ToPosition,
    int fromJunctionID,
    int toJunctionID,
    IPolyline polyline
);
[C++]
HRESULT CreateEdge(
  long SourceID,
  long SourceOID,
  double FromPosition,
  double ToPosition,
  long fromJunctionID,
  long toJunctionID,
  IPolyline* polyline
);
[C++]
Parameters
SourceID [in]

SourceID is a parameter of type long SourceOID [in]
SourceOID is a parameter of type long FromPosition [in]
FromPosition is a parameter of type double ToPosition [in]
ToPosition is a parameter of type double fromJunctionID [in]
fromJunctionID is a parameter of type long toJunctionID [in]
toJunctionID is a parameter of type long polyline [in]
polyline is a parameter of type IPolyline*

Product Availability

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

Remarks

CreateEdge has been superseded by INATraversalResultEdit2.CreateEdgeEx.

See Also

INATraversalResultEdit Interface