Sdílet prostřednictvím


LocalLocationFinder Class

Definition

[Deprecated - see Remarks.] Searches for businesses and places.

public ref class LocalLocationFinder abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Maps.LocalSearchContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class LocalLocationFinder final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Maps.LocalSearchContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class LocalLocationFinder
Public Class LocalLocationFinder
Inheritance
Object Platform::Object IInspectable LocalLocationFinder
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced in v1.0)

Remarks

Important

The UWP MapControl and Windows Maps platform APIs (Windows.Services.Maps.*) are deprecated and may not be available in future versions of Windows. For more information, see Resources for deprecated features.

Important

Bing Maps for Enterprise service retirement

The UWP MapControl and map services from the Windows.Services.Maps namespaces rely on Bing Maps. Bing Maps for Enterprise is deprecated and will be retired, at which point the MapControl and services will no longer receive data.

For more information, see the Bing Maps Developer Center and Bing Maps documentation.

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.LocalSearch namespace, please work with your Microsoft Account Team representative.

Methods

FindLocalLocationsAsync(String, Geocircle, String, UInt32)

Gets information about businesses and places that meet the specified search criteria.

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.LocalSearch namespace, please work with your Microsoft Account Team representative.

Applies to