Share via


WalletTransaction.DisplayAmount プロパティ

定義

注意事項

ApplicationModel.Wallet 名前空間はサポートされなくなり、間もなく非推奨になります。 開発者は、この名前空間を使用しないようにすることをお勧めします。

トランザクション量を取得または設定します。

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

プロパティ値

String

Platform::String

winrt::hstring

トランザクションの金額。

属性

注釈

これは数値ではなく文字列であり、 WalletTransaction にデータを書き込むエンティティは、通貨記号、小数点形式、その他のローカライズに関する考慮事項などを担当します。

適用対象