GuidanceRoute.RoadSegments Property

Definition

Gets a list of road segments, ordered from start to finish, that make up the route.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.

public:
 property IVectorView<GuidanceRoadSegment ^> ^ RoadSegments { IVectorView<GuidanceRoadSegment ^> ^ get(); };
IVectorView<GuidanceRoadSegment> RoadSegments();
public IReadOnlyList<GuidanceRoadSegment> RoadSegments { get; }
var iVectorView = guidanceRoute.roadSegments;
Public ReadOnly Property RoadSegments As IReadOnlyList(Of GuidanceRoadSegment)

Property Value

A list of road segments, ordered from start to finish, that make up the route.

Applies to