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


IPolyline2.EnumShortestPath Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IPolyline2.EnumShortestPath Property

Not implemented.

[Visual Basic .NET]
Public Function get_EnumShortestPath ( _
    ByVal fromPart As Integer, _
    ByVal FromPoint As Integer, _
    ByVal toPart As Integer, _
    ByVal ToPoint As Integer _
) As IEnumSegment
[C#]
public IEnumSegment get_EnumShortestPath (
    int fromPart,
    int FromPoint,
    int toPart,
    int ToPoint
);
[C++]
HRESULT get_EnumShortestPath(
  long fromPart,
  long FromPoint,
  long toPart,
  long ToPoint,
  IEnumSegment** shortPathEnum
);
[C++]

Parameters fromPart fromPart is a parameter of type long FromPoint FromPoint is a parameter of type long toPart toPart is a parameter of type long ToPoint ToPoint is a parameter of type long shortPathEnum [out, retval]
shortPathEnum is a parameter of type IEnumSegment

Product Availability

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

See Also

IPolyline2 Interface