Implements the operator <.
| C# | Visual Basic | Visual C++ |
public static bool operator <( CurrencyAmount originalValue, CurrencyAmount amount )
Public Shared Operator < ( _ originalValue As CurrencyAmount, _ amount As CurrencyAmount _ ) As Boolean
public: static bool operator <( CurrencyAmount originalValue, CurrencyAmount amount )
- originalValue (CurrencyAmount)
- The original value.
- amount (CurrencyAmount)
- The amount to subtract.
The result of the operator.
| Exception | Condition |
|---|---|
| CurrencyMismatchException |
If currency types do not match
|