|  | This document is archived and information here might be outdated. Recommended version. | 
Calculates the least-cost path(s) from selected points in the input data and returns it as a polyline.
[Visual Basic .NET] Public Function LeastCostPathAsPolyline ( _ ByVal pDestinations As IGeoDataset, _ ByVal distance As IGeoDataset, _ ByVal backlink As IGeoDataset, _ ByRef pValue As Integer, _ ByRef pCost As Double _ ) As IPolyline
[C#] public IPolyline LeastCostPathAsPolyline ( IGeoDataset pDestinations, IGeoDataset distance, IGeoDataset backlink, ref int pValue, ref double pCost );
[C++]
HRESULT LeastCostPathAsPolyline(
  IGeoDataset* pDestinations,
  IGeoDataset* distance,
  IGeoDataset* backlink,
  System.Int32* pValue,
  System.Double* pCost
);
[C++] Parameters pDestinations [in]
pDestinations is a parameter of type IGeoDataset* distance [in]
distance is a parameter of type IGeoDataset* backlink [in]
backlink is a parameter of type IGeoDataset* pValue [out]
pValue is a parameter of type long* pCost [out]
pCost is a parameter of type double*