Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    Method TryGetValue

    TryGetValue(Currency, out MonetaryValue)

    Gets the monetary value associated with the specified currency.

    Declaration
    bool TryGetValue(Currency currency, out MonetaryValue value)
    Parameters
    Type Name Description
    Currency currency

    The currency of the value to get.

    MonetaryValue value

    When the method returns, contains the value associated with the specified currency if a value for the currency was found; otherwise a default MonetaryValue value.

    Returns
    Type Description
    bool

    true if a value for the currency was found; otherwise false.

    TryGetValue(string, out MonetaryValue)

    Gets the monetary value associated with the specified currency code.

    Declaration
    bool TryGetValue(string currencyCode, out MonetaryValue value)
    Parameters
    Type Name Description
    string currencyCode

    The currency code of the value to get.

    MonetaryValue value

    When the method returns, contains the value associated with the specified currency code if a value for the currency was found; otherwise a default MonetaryValue value.

    Returns
    Type Description
    bool

    true if a value for the currency code was found; otherwise false.

    © Singulink. All rights reserved.