ICurrencyConvertFrom Method

Converts a Money value from its currency into a Money value denominated in this implementation of ICurrency.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
Money ConvertFrom(
	Money value
)

Parameters

value  Money
The Money value to convert.

Return Value

Money
The Money value converted into this currency.

Remarks

Converting to the same type of currency will return the original Money object.

Exceptions

InvalidConversionExceptionThrown if the conversion cannot be performed. The most common reason for this is that you have not called SetConversion with an entry for the target currency.

See Also