Share via


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 ref class LocalCategories 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 LocalCategories 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 LocalCategories
Public Class LocalCategories
Inheritance
Object Platform::Object IInspectable LocalCategories
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)

Properties

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.

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.

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.

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.

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.

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.

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.

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.

Applies to