Method TryGetCurrency
TryGetCurrency(string, out Currency)
Gets the currency associated with the specified currency code from the Default registry.
Declaration
public static bool TryGetCurrency(string currencyCode, out Currency currency)
Parameters
Type | Name | Description |
---|---|---|
string | currencyCode | The currency code of the currency to get. |
Currency | currency | The singleton currency object with the specified currency code. |
Returns
Type | Description |
---|---|
bool |