This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INATraversalResultEdit Interface > INATraversalResultEdit.CreateEdge Method (ArcObjects .NET 10.5 SDK) |
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,
long* ElementID
);
[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 ElementID [out, retval] ElementID is a parameter of type long
CreateEdge has been superseded by INATraversalResultEdit2.CreateEdgeEx.