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


INATraversalResultEdit2.WriteSimpleTurnBufferEx Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INATraversalResultEdit2.WriteSimpleTurnBufferEx Method

Make a new two part turn in the result from the feature buffer.

[Visual Basic .NET]
Public Sub WriteSimpleTurnBufferEx ( _
    ByVal featureBuffer As IFeatureBuffer, _
    ByVal SourceID As Integer, _
    ByVal SourceOID As Integer, _
    ByVal EID As Integer, _
    ByVal fromEdgeID As Integer, _
    ByVal toEdgeID As Integer _
)
[C#]
public void WriteSimpleTurnBufferEx (
    IFeatureBuffer featureBuffer,
    int SourceID,
    int SourceOID,
    int EID,
    int fromEdgeID,
    int toEdgeID
);
[C++]
HRESULT WriteSimpleTurnBufferEx(
  IFeatureBuffer* featureBuffer,
  long SourceID,
  long SourceOID,
  long EID,
  long fromEdgeID,
  long toEdgeID
);
[C++]

Parameters featureBuffer [in]
featureBuffer is a parameter of type IFeatureBuffer SourceID [in] SourceID is a parameter of type long SourceOID [in] SourceOID is a parameter of type long EID [in] EID is a parameter of type long fromEdgeID [in] fromEdgeID is a parameter of type long toEdgeID [in] toEdgeID is a parameter of type long

Product Availability

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

Remarks

WriteSimpleTurnBufferEx populates the input FeatureBuffer with the other input parameters.  This FeatureBuffer can then be passed to an insert cursor on the traversal result feature class.

See Also

INATraversalResultEdit2 Interface