Share via


WalletTransaction.DisplayAmount 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 the transaction amount.

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

void DisplayAmount(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletTransaction 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("IWalletTransaction 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 DisplayAmount();

void DisplayAmount(winrt::hstring value);
public string DisplayAmount { get; set; }
public string DisplayAmount { [Windows.Foundation.Metadata.Deprecated("IWalletTransaction 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("IWalletTransaction 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 = walletTransaction.displayAmount;
walletTransaction.displayAmount = string;
Public Property DisplayAmount As String

Property Value

String

Platform::String

winrt::hstring

The transaction amount.

Attributes

Remarks

This is a string, not a number, and the entity that writes data to the WalletTransaction is responsible for currency symbols, decimal forms, other localization considerations and so on.

Applies to