Click or drag to resize

QuantityAddition Operator

Returns the sum of quantity a and b, which must have the same measurement unit

Namespace:  Aloe.EnterpriseOne.Model
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static Quantity operator +(
	Quantity first,
	Quantity second
)

Parameters

first
Type: Aloe.EnterpriseOne.ModelQuantity
The first quantity to add.
second
Type: Aloe.EnterpriseOne.ModelQuantity
The second quantity to add.

Return Value

Type: Quantity
The sum of the quantities.
Exceptions
ExceptionCondition
InvalidOperationExceptionCannot add quantities, which have different measurement units.
See Also