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


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

INetTopology.GetAdjacentEdge Method

Returns the network element ID of the index'th adjacent edge to the specified junction.

[Visual Basic .NET]
Public Sub GetAdjacentEdge ( _
    ByVal AtJunctionEID As Integer, _
    ByVal Index As Integer, _
    ByRef adjacentEdge As Integer, _
    ByRef reverseOrientation As Boolean _
)
[C#]
public void GetAdjacentEdge (
    int AtJunctionEID,
    int Index,
    ref int adjacentEdge,
    ref bool reverseOrientation
);
[C++]
HRESULT GetAdjacentEdge(
  long AtJunctionEID,
  long Index,
  System.Int32* adjacentEdge,
  Boolean* reverseOrientation
);
[C++]
Parameters
AtJunctionEID [in]

AtJunctionEID is a parameter of type long Index [in]
Index is a parameter of type long adjacentEdge [out]
adjacentEdge is a parameter of type long* reverseOrientation [out]
reverseOrientation is a parameter of type bool*

Product Availability

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

Remarks

The GetAdjacentEdge function returns the Element ID of the adjacent edge found at the atJunctionEID that corresponds to the index value.
A ReverseOrientation of True indicates that the Junction is at the To end of the edge, while False indicates the opposite.

See Also

INetTopology Interface