WalletItem.RelevantLocations プロパティ

定義

注意事項

ApplicationModel.Wallet 名前空間はサポートされなくなり、間もなく非推奨になります。 開発者は、この名前空間を使用しないようにすることをお勧めします。

ウォレット アイテムに関連するすべての場所のコレクションを取得します。

public:
 property IMap<Platform::String ^, WalletRelevantLocation ^> ^ RelevantLocations { IMap<Platform::String ^, WalletRelevantLocation ^> ^ get(); };
IMap<winrt::hstring, WalletRelevantLocation const&> RelevantLocations();
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
IMap<winrt::hstring, WalletRelevantLocation const&> RelevantLocations();
public IDictionary<string,WalletRelevantLocation> RelevantLocations { get; }
public IDictionary<string,WalletRelevantLocation> RelevantLocations { [Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] get; }
var iMap = walletItem.relevantLocations;
Public ReadOnly Property RelevantLocations As IDictionary(Of String, WalletRelevantLocation)

プロパティ値

ウォレットアイテムに関連するすべての場所のコレクション

属性

注釈

このコレクション内のアイテムの文字列キーは、通常、ユーザー UI 用ではないプログラム識別子です。 WalletRelevantLocation 値内のデータは、UI 用の場合があります。

WalletRelevantLocation 値には、BasicGeoposition 値をキャプチャする Position プロパティがあり、各位置を位置固有の表示メッセージに関連付けます。 このコード例については、「 クイック スタート: API の使用」を参照してください

適用対象

こちらもご覧ください