GetCurrencyValueResponse Constructor (String, String, Decimal, Decimal)
Initializes a new instance of the GetCurrencyValueResponse class.
Namespace: Microsoft.Dynamics.Commerce.Runtime.Services.Messages
Assembly: Microsoft.Dynamics.Commerce.Runtime.Services.Messages (in Microsoft.Dynamics.Commerce.Runtime.Services.Messages.dll)
Syntax
'Declaration
Public Sub New ( _
fromCurrencyCode As String, _
toCurrencyCode As String, _
amountToConvert As Decimal, _
convertedAmount As Decimal _
)
'Usage
Dim fromCurrencyCode As String
Dim toCurrencyCode As String
Dim amountToConvert As Decimal
Dim convertedAmount As Decimal
Dim instance As New GetCurrencyValueResponse(fromCurrencyCode, _
toCurrencyCode, amountToConvert, _
convertedAmount)
public GetCurrencyValueResponse(
string fromCurrencyCode,
string toCurrencyCode,
decimal amountToConvert,
decimal convertedAmount
)
public:
GetCurrencyValueResponse(
String^ fromCurrencyCode,
String^ toCurrencyCode,
Decimal amountToConvert,
Decimal convertedAmount
)
Parameters
- fromCurrencyCode
Type: System.String
- toCurrencyCode
Type: System.String
- amountToConvert
Type: System.Decimal
- convertedAmount
Type: System.Decimal
See Also
Reference
GetCurrencyValueResponse Class
GetCurrencyValueResponse Overload
Microsoft.Dynamics.Commerce.Runtime.Services.Messages Namespace