Share via


MapControl.Region プロパティ

定義

アドレスのリージョン (州や都道府県など) を取得または設定します。

public:
 property Platform::String ^ Region { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Region();

void Region(winrt::hstring value);
public string Region { get; set; }
var string = mapControl.region;
mapControl.region = string;
Public Property Region As String

プロパティ値

String

Platform::String

winrt::hstring

住所のリージョン (州や都道府県など)。

Windows の要件

デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)

注釈

このプロパティを使用すると、特定のリージョンの言語に基づいてマップ コントロールの内容を表示できます。 このプロパティの既定値は null です。 このプロパティを設定しない場合、マップ コントロールには、ユーザーの地域の言語に基づいて内容が表示されます。 このリージョンは、通常、ユーザーの PC またはデバイスのシステム設定で定義されます。

適用対象