ArcObjects Library Reference (NetworkAnalyst)  

INATraversalResultEdit2.WriteEdgeBufferEx Method

Make a new edge in the result from the feature buffer.

[Visual Basic .NET]
Public Sub WriteEdgeBufferEx ( _
    ByVal featureBuffer As IFeatureBuffer, _
    ByVal SourceID As Integer, _
    ByVal SourceOID As Integer, _
    ByVal EID As Integer, _
    ByVal FromPosition As Double, _
    ByVal ToPosition As Double, _
    ByVal fromJunctionID As Integer, _
    ByVal toJunctionID As Integer, _
    ByVal polyline As IPolyline _
)
[C#]
public void WriteEdgeBufferEx (
    IFeatureBuffer featureBuffer,
    int SourceID,
    int SourceOID,
    int EID,
    double FromPosition,
    double ToPosition,
    int fromJunctionID,
    int toJunctionID,
    IPolyline polyline
);
[C++]
HRESULT WriteEdgeBufferEx(
  IFeatureBuffer* featureBuffer,
  long SourceID,
  long SourceOID,
  long EID,
  double FromPosition,
  double ToPosition,
  long fromJunctionID,
  long toJunctionID,
  IPolyline* polyline
);
[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 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

WriteEdgeBufferEx 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