共用方式為


WalletRelevantLocation.DisplayMessage 屬性

定義

警告

不再支援 ApplicationModel.Wallet 命名空間,且即將淘汰。 我們鼓勵開發人員避免使用此命名空間。

取得或設定與相關位置相關聯的訊息。

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

void DisplayMessage(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletRelevantLocation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IWalletRelevantLocation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
winrt::hstring DisplayMessage();

void DisplayMessage(winrt::hstring value);
public string DisplayMessage { get; set; }
public string DisplayMessage { [Windows.Foundation.Metadata.Deprecated("IWalletRelevantLocation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("IWalletRelevantLocation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] set; }
var string = walletRelevantLocation.displayMessage;
walletRelevantLocation.displayMessage = string;
Public Property DisplayMessage As String

屬性值

String

Platform::String

winrt::hstring

與相關位置相關聯的訊息。

屬性

適用於