MapRouteFinderResult Class

Definition

Returns the result of a MapRouteFinder query.

public ref class MapRouteFinderResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MapRouteFinderResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MapRouteFinderResult
Public NotInheritable Class MapRouteFinderResult
Inheritance
Object Platform::Object IInspectable MapRouteFinderResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

A MapRouteFinderResult is returned when you call the methods of the MapRouteFinder class.

Your Universal Windows app must be authenticated before it can use the MapControl and map services in the Windows.Services.Maps namespace. To authenticate your app, you must specify a maps authentication key.

See Request a maps authentication key.

Properties

AlternateRoutes

Gets alternate routes between the same start and end points (if available).

Route

Gets the route found by a MapRouteFinder query.

Status

Gets the status of a MapRouteFinder query.

Applies to

See also