Lokad SDK for .NET - Documentation
Subtraction Operator
NamespacesLokadCurrencyAmountSubtraction(CurrencyAmount, CurrencyAmount)
Implements the operator -.
Declaration Syntax
C#Visual BasicVisual C++
public static CurrencyAmount operator -(
	CurrencyAmount originalValue,
	CurrencyAmount amount
)
Public Shared Operator - ( _
	originalValue As CurrencyAmount, _
	amount As CurrencyAmount _
) As CurrencyAmount
public:
static CurrencyAmount operator -(
	CurrencyAmount originalValue, 
	CurrencyAmount amount
)
Parameters
originalValue (CurrencyAmount)
The original value.
amount (CurrencyAmount)
The amount to subtract.
Return Value
The result of the operator.
Exceptions
ExceptionCondition
CurrencyMismatchException If currency types do not match

Assembly: Lokad.Sdk (Module: Lokad.Sdk) Version: 2.4.669.0 (2.4.669.0)