LocalLocationFinder
LocalLocationFinder
LocalLocationFinder
LocalLocationFinder
Class
Definition
Searches for businesses and places.
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.
public : static class LocalLocationFinderpublic static class LocalLocationFinderPublic Static Class LocalLocationFinder// This API is not available in Javascript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Services.Maps.LocalSearchContract (introduced v1)
|
Methods
FindLocalLocationsAsync(String, Geocircle, String, UInt32) FindLocalLocationsAsync(String, Geocircle, String, UInt32) FindLocalLocationsAsync(String, Geocircle, String, UInt32) 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.
public : static IAsyncOperation<LocalLocationFinderResult> FindLocalLocationsAsync(PlatForm::String searchTerm, Geocircle searchArea, PlatForm::String localCategory, unsigned int maxResults)public static IAsyncOperation<LocalLocationFinderResult> FindLocalLocationsAsync(String searchTerm, Geocircle searchArea, String localCategory, UInt32 maxResults)Public Static Function FindLocalLocationsAsync(searchTerm As String, searchArea As Geocircle, localCategory As String, maxResults As UInt32) As IAsyncOperation( Of LocalLocationFinderResult )// This API is not available in Javascript.
- searchTerm
- PlatForm::String String String String
The query text of the search; that which you're searching for.
The geographic area to be included in the search.
- localCategory
- PlatForm::String String String 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
- unsigned int UInt32 UInt32 UInt32
The maximum number of results to return from the search.
The relevant businesses or places that meet the specified search criteria, of type LocalLocationFinderResult.