Udostępnij za pośrednictwem


WalletItem.DisplayMessage Property

Definition

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Gets or sets a string that appears next to the app name in About info.

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

Property Value

String

Platform::String

winrt::hstring

A string that appears next to the app name in the About info associated with a wallet item.

Attributes

Applies to