CurrencyAmount(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new CurrencyAmount object (in the specified amount and currency).
public:
CurrencyAmount(Platform::String ^ amount, Platform::String ^ currency);
CurrencyAmount(winrt::hstring const& amount, winrt::hstring const& currency);
public CurrencyAmount(string amount, string currency);
function CurrencyAmount(amount, currency)
Public Sub New (amount As String, currency As String)
Parameters
- amount
-
String
Platform::String
winrt::hstring
A string containing a decimal number in the invariant culture format (for example, a culture-insensitive amount such as "100.00").
- currency
-
String
Platform::String
winrt::hstring
A string containing a CurrencyIdentifiers value (such as USD), other ISO 4217 alphabetic currency code, "vendor-specific" code prefixed with "X-" (for example, "X-ContosoPoints") or other currency name (including cryptocurrency, such as "Bitcoin" or "TRON").
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro