Route.Legs Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the list of legs associated with this route.

Namespace:  Microsoft.Phone.Maps.Services
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

Syntax

Public Property Legs As ReadOnlyCollection(Of RouteLeg)
public ReadOnlyCollection<RouteLeg> Legs { get; internal set; }

Property Value

Type: System.Collections.ObjectModel..::.ReadOnlyCollection<(Of <(RouteLeg>)>)
The list of legs associated with this route.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

Route Class

Microsoft.Phone.Maps.Services Namespace