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

一个字符串,显示在与钱包项目关联的 关于 信息中的应用名称旁边。

属性

适用于