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


INATraversalResultEdit2.CreateJunctionEx Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INATraversalResultEdit2.CreateJunctionEx Method

Make a new junction in the result.

[Visual Basic .NET]
Public Function CreateJunctionEx ( _
    ByVal SourceID As Integer, _
    ByVal SourceOID As Integer, _
    ByVal EID As Integer, _
    ByVal Point As IPoint _
) As Integer
[C#]
public int CreateJunctionEx (
    int SourceID,
    int SourceOID,
    int EID,
    IPoint Point
);
[C++]
HRESULT CreateJunctionEx(
  long SourceID,
  long SourceOID,
  long EID,
  IPoint* Point
);
[C++]

Parameters 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 Point [in]
Point is a parameter of type IPoint*

Product Availability

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

Remarks

CreateJunctionEx creates a junction in the traversal results junction feature class.

It is unnecessary to pass in a geometry.  If passed in, it will be used.  Otherwise, it is possible to call InferGeometry later to infer all of the geometries.

See Also

INATraversalResultEdit2 Interface