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


IGeometricNetwork.EdgeElement Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeometricNetwork Interface > IGeometricNetwork.EdgeElement Property
ArcGIS Developer Help

IGeometricNetwork.EdgeElement Property

The EdgeElement EID at the specified location.

[Visual Basic .NET]
Public Function get_EdgeElement ( _
    ByVal Location As IPoint _
) As Integer
[C#]
public int get_EdgeElement (
    IPoint Location
);
[C++]
HRESULT get_EdgeElement(
  IPoint* Location,
  System.Int32* edgeEID
);
[C++]
Parameters
Location [in]

Location is a parameter of type IPoint* edgeEID [out, retval]
edgeEID is a parameter of type long*

Product Availability

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

Remarks

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

See Also

IGeometricNetwork Interface