LocalCategories
LocalCategories
LocalCategories
LocalCategories
Class
Definition
Provides names of search categories that you can use to limit search results when calling the FindLocalLocationsAsync method.
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 LocalCategoriespublic static class LocalCategoriesPublic Static Class LocalCategories// 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)
|
Properties
All All All All
Gets a value that represents all search categories.
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 PlatForm::String All { get; }public static string All { get; }Public Static ReadOnly Property All As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
A value that indicates search results are not limited by search categories.
Remarks
If the All category is specified, the FindLocalLocationsAsync method returns results for all search categories.
BankAndCreditUnions BankAndCreditUnions BankAndCreditUnions BankAndCreditUnions
Gets the name of the search category for banks and credit unions.
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 PlatForm::String BankAndCreditUnions { get; }public static string BankAndCreditUnions { get; }Public Static ReadOnly Property BankAndCreditUnions As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The name of the Search category for banks and credit unions.
EatDrink EatDrink EatDrink EatDrink
Gets the name of the search category for places to eat and drink.
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 PlatForm::String EatDrink { get; }public static string EatDrink { get; }Public Static ReadOnly Property EatDrink As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The name of the Search category for places to eat and drink.
Hospitals Hospitals Hospitals Hospitals
Gets the name of the search category for hospitals.
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 PlatForm::String Hospitals { get; }public static string Hospitals { get; }Public Static ReadOnly Property Hospitals As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The name of the Search category for hospitals.
HotelsAndMotels HotelsAndMotels HotelsAndMotels HotelsAndMotels
Gets the name of the search category for hotels and motels.
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 PlatForm::String HotelsAndMotels { get; }public static string HotelsAndMotels { get; }Public Static ReadOnly Property HotelsAndMotels As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The name of the Search category for hotels and motels.
Parking Parking Parking Parking
Gets the name of the search category for parking locations.
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 PlatForm::String Parking { get; }public static string Parking { get; }Public Static ReadOnly Property Parking As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The name of the search category for parking locations.
SeeDo SeeDo SeeDo SeeDo
Gets the name of the search category for places to see and things to do.
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 PlatForm::String SeeDo { get; }public static string SeeDo { get; }Public Static ReadOnly Property SeeDo As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The name of the search category for places to see and things to do.
Shop Shop Shop Shop
Gets the name of the search category for places to shop.
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 PlatForm::String Shop { get; }public static string Shop { get; }Public Static ReadOnly Property Shop As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The name of the search category for places to shop.