LocalLocationFinder.FindLocalLocationsAsync Method

Definition

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.

C#
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<LocalLocationFinderResult> FindLocalLocationsAsync(string searchTerm, Geocircle searchArea, string localCategory, uint maxResults);

Parameters

searchTerm
String

The query text of the search; that which you're searching for.

searchArea
Geocircle

The geographic area to be included in the search.

localCategory
String

The search categories used to limit search results. We recommend using one or more LocalCategories properties to specify localCategory. Use a semicolon "; " separator to specify more than one category.

maxResults
UInt32

The maximum number of results to return from the search.

Returns

The relevant businesses or places that meet the specified search criteria, of type LocalLocationFinderResult.

Attributes

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100