NullableTypes Class Library

NullableDecimal Addition Operator 

Computes the sum of the two specified NullableDecimal structures.

[Visual Basic]
returnValue = NullableDecimal.op_Addition(x, y)
[C#]
public static NullableDecimal operator +(
   NullableDecimal x,
   NullableDecimal y
);

Parameters

x
A NullableDecimal structure.
y
A NullableDecimal structure.

Return Value

Null if either instance of NullableDecimal is Null otherwise a NullableDecimal structure whose Value property contains the results of the addition.

Exceptions

Exception TypeCondition
OverflowException The addition compute a number that is less than MinValue or greater than MaxValue.

See Also

NullableDecimal Class | NullableTypes Namespace