NullableTypes Class Library

NullableDecimal Subtraction Operator 

Computes the subtraction of the two specified NullableDecimal structures.

[Visual Basic]
returnValue = NullableDecimal.op_Subtraction(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 subtraction.

Exceptions

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

See Also

NullableDecimal Class | NullableTypes Namespace