NullableTypes Class Library

NullableInt32 Addition Operator 

Computes the sum of the two specified NullableInt32 structures.

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

Parameters

x
A NullableInt32 structure.
y
A NullableInt32 structure.

Return Value

Null if either instance of NullableInt32 is Null otherwise a NullableInt32 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

NullableInt32 Class | NullableTypes Namespace