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


INetTopologyEdit.AddEdgeByEndEIDs Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetTopologyEdit Interface > INetTopologyEdit.AddEdgeByEndEIDs Method
ArcGIS Developer Help

INetTopologyEdit.AddEdgeByEndEIDs Method

Adds an edge element to the logical network between the specified junction elements.

[Visual Basic .NET]
Public Function AddEdgeByEndEIDs ( _
    ByVal edgeDescription As INetElementDescription, _
    ByVal FromJunctionEID As Integer, _
    ByVal ToJunctionEID As Integer _
) As Integer
[C#]
public int AddEdgeByEndEIDs (
    INetElementDescription edgeDescription,
    int FromJunctionEID,
    int ToJunctionEID
);
[C++]
HRESULT AddEdgeByEndEIDs(
  INetElementDescription* edgeDescription,
  long FromJunctionEID,
  long ToJunctionEID
);
[C++]
Parameters
edgeDescription [in]

edgeDescription is a parameter of type INetElementDescription* FromJunctionEID [in]
FromJunctionEID is a parameter of type long ToJunctionEID [in]
ToJunctionEID is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

AddEdgeByEndEIDs adds a new edge between the specified junctions.  The value returned by AddEdgeByEndEIDs is the Element ID (EID) for the newly created edge. This value is unique.

Define the parameters of the edge to add in the INetElementDescription object that you pass in.

Only use this method on stand-alone logical networks.

See Also

INetTopologyEdit Interface