Delen via


LocalCategories.EatDrink Property

Definition

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 property Platform::String ^ EatDrink { Platform::String ^ get(); };
static winrt::hstring EatDrink();
public static string EatDrink { get; }
var string = LocalCategories.eatDrink;
Public Shared ReadOnly Property EatDrink As String

Property Value

String

Platform::String

winrt::hstring

The name of the Search category for places to eat and drink.

Applies to