Condividi tramite


WalletTransaction.DisplayAmount Proprietà

Definizione

Attenzione

Lo spazio dei nomi ApplicationModel.Wallet non è più supportato e verrà presto deprecato. Gli sviluppatori sono invitati a evitare di usare questo spazio dei nomi.

Ottiene o imposta l'importo della transazione.

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

Valore della proprietà

String

Platform::String

winrt::hstring

Importo della transazione.

Attributi

Commenti

Si tratta di una stringa, non di un numero, e l'entità che scrive i dati in WalletTransaction è responsabile di simboli di valuta, forme decimali, altre considerazioni sulla localizzazione e così via.

Si applica a