This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetTopologyEdit Interface > INetTopologyEdit.AddEdgeByEndEIDs Method (ArcObjects .NET 10.4 SDK) |
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,
long* edgeEID
);
[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 edgeEID [out, retval] edgeEID is a parameter of type long
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.