次の方法で共有


LocalLocation.Category プロパティ

定義

この場所のカテゴリを取得します。

手記

この API は、すべての Windows アプリで使用できるわけではありません。 開発者アカウントが Microsoft によって特別にプロビジョニングされていない限り、この API の呼び出しは実行時に失敗します。 Windows.Services.Maps.LocalSearch 名前空間の詳細については、Microsoft アカウント チームの担当者にお問い合わせください。

public:
 property Platform::String ^ Category { Platform::String ^ get(); };
winrt::hstring Category();
public string Category { get; }
var string = localLocation.category;
Public ReadOnly Property Category As String

プロパティ値

String

Platform::String

winrt::hstring

この場所のカテゴリ。

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.14393.0 で導入)
Windows Mobile Extension SDK (10.0.14393.0 で導入)
Windows Team Extension SDK (10.0.14393.0 で導入)
API contract
Windows.Services.Maps.LocalSearchContract (v3.0 で導入)

適用対象