共用方式為


LocalCategories.HotelsAndMotels 屬性

定義

取得旅館和汽車旅館的搜尋類別名稱。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫此 API 會在運行時間失敗。 如需 Windows.Services.Maps.LocalSearch 命名空間的詳細資訊,請與您的Microsoft帳戶小組代表合作。

public:
 static property Platform::String ^ HotelsAndMotels { Platform::String ^ get(); };
static winrt::hstring HotelsAndMotels();
public static string HotelsAndMotels { get; }
var string = LocalCategories.hotelsAndMotels;
Public Shared ReadOnly Property HotelsAndMotels As String

屬性值

String

Platform::String

winrt::hstring

旅館和汽車旅館的搜尋類別名稱。

適用於