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


INATraversalResultEdit.CreateSimpleTurn Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INATraversalResultEdit.CreateSimpleTurn Method

Make a new two edge turn in the result.

[Visual Basic .NET]
Public Function CreateSimpleTurn ( _
    ByVal SourceID As Integer, _
    ByVal SourceOID As Integer, _
    ByVal fromEdgeID As Integer, _
    ByVal toEdgeID As Integer _
) As Integer
[C#]
public int CreateSimpleTurn (
    int SourceID,
    int SourceOID,
    int fromEdgeID,
    int toEdgeID
);
[C++]
HRESULT CreateSimpleTurn(
  long SourceID,
  long SourceOID,
  long fromEdgeID,
  long toEdgeID,
  long* ElementID
);
[C++]

Parameters SourceID [in] SourceID is a parameter of type long SourceOID [in] SourceOID is a parameter of type long fromEdgeID [in] fromEdgeID is a parameter of type long toEdgeID [in] toEdgeID is a parameter of type long ElementID [out, retval] ElementID is a parameter of type long

Product Availability

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

Remarks

CreateSimpleTurn has been superseded by INATraversalResultEdit2.CreateSimpleTurnEx.

See Also

INATraversalResultEdit Interface