CurrencyConverter Delegate

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Delegate that takes an amount and currencies to round between.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Data
Assembly:  Microsoft.Dynamics.Commerce.Runtime.DataManagers (in Microsoft.Dynamics.Commerce.Runtime.DataManagers.dll)

Syntax

'Declaration
Public Delegate Function CurrencyConverter ( _
    fromCurrencyCode As String, _
    toCurrencyCode As String, _
    amountToConvert As Decimal _
) As Decimal
'Usage
Dim instance As New CurrencyConverter(AddressOf HandlerMethod)
public delegate decimal CurrencyConverter(
    string fromCurrencyCode,
    string toCurrencyCode,
    decimal amountToConvert
)
public delegate Decimal CurrencyConverter(
    String^ fromCurrencyCode, 
    String^ toCurrencyCode, 
    Decimal amountToConvert
)

Parameters

Return Value

Type: System.Decimal

See Also

Reference

Microsoft.Dynamics.Commerce.Runtime.Data Namespace