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


IEdgeFeature.GeometryForEdgeElement Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IEdgeFeature Interface > IEdgeFeature.GeometryForEdgeElement Property
ArcGIS Developer Help

IEdgeFeature.GeometryForEdgeElement Property

The geometry corresponding to the element with the given subID.

[Visual Basic .NET]
Public Function get_GeometryForEdgeElement ( _
    ByVal subID As Integer _
) As IGeometry
[C#]
public IGeometry get_GeometryForEdgeElement (
    int subID
);
[C++]
HRESULT get_GeometryForEdgeElement(
  long subID,
  IGeometry** Geometry
);
[C++]
Parameters
subID [in]

subID is a parameter of type long Geometry [out, retval]
Geometry is a parameter of type IGeometry**

Product Availability

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

Remarks

Simple edge features have one corresponding logical network element and therefore one SubID value. When using GeometryForEdgeElement with simple edge features, the SubID parameter is still required but can be any number, positive, negative or zero.  The geometry for the simple edge feature will always be returned.

Complex edge features have a one feature to many elements mapping with the logical network.  As such, a valid SubID must be supplied.  The SubID for a complex edge feature can be returned by supplying the elements ID to the INetElements::QueryIDs method.

See Also

IEdgeFeature Interface