This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IEdgeFeature Interface > IEdgeFeature.GeometryForEdgeElement Property (ArcObjects .NET 10.5 SDK) |
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
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.