NullableTypes Class Library

NullableInt32.Divide Method 

Divides its first NullableInt32 operand by its second.

[Visual Basic]
Public Shared Function Divide( _
   ByVal x As NullableInt32, _
   ByVal y As NullableInt32 _
) As NullableInt32
[C#]
public static NullableInt32 Divide(
   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 division.

Exceptions

Exception TypeCondition
DivideByZeroExceptiony is Zero while x is not Null.

See Also

NullableInt32 Class | NullableTypes Namespace