Share via


MapRoute.Legs Property

Definition

Gets the list of legs associated with the route.

public:
 property IVectorView<MapRouteLeg ^> ^ Legs { IVectorView<MapRouteLeg ^> ^ get(); };
IVectorView<MapRouteLeg> Legs();
public IReadOnlyList<MapRouteLeg> Legs { get; }
var iVectorView = mapRoute.legs;
Public ReadOnly Property Legs As IReadOnlyList(Of MapRouteLeg)

Property Value

The list of legs associated with the route. This property returns a collection of MapRouteLeg objects.

Applies to

See also