ArcObjects Library Reference (GeoDatabase)  

IGeometricNetwork.JunctionElement Property

The JunctionElement EID at the specified location.

[Visual Basic .NET]
Public Function get_JunctionElement ( _
    ByVal Location As IPoint _
) As Integer
public int get_JunctionElement (
    IPoint Location
HRESULT get_JunctionElement(
  IPoint* Location,
  long* junctionEID


Location [in]

  Location is a parameter of type IPoint

junctionEID [out, retval]   junctionEID is a parameter of type long

Product Availability

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


The JuntionElement property returns the Element ID (EID) of the network feature found at the specified point. If there is more than one network junction feature at the the location, then the EID of the first feature that is located is returned.  If no network feature is found, JuntionElement returns -1.  If the network feature does not have an EID, a value of 0 is returned.

See Also

IGeometricNetwork Interface