共用方式為


WalletItem.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("IWalletItem 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("IWalletItem 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("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; [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")] set; }
var string = walletItem.displayMessage;
walletItem.displayMessage = string;
Public Property DisplayMessage As String

屬性值

String

Platform::String

winrt::hstring

出現在與電子錢包專案相關聯之 [ 關於 資訊] 中應用程式名稱旁的字串。

屬性

適用於