NullableTypes Class Library

NullableInt32.ToNullableByte Method 

Converts this NullableInt32 instance to a NullableByte.

[Visual Basic]
Public Function ToNullableByte() As NullableByte
public NullableByte ToNullableByte();

Return Value

A NullableByte that is Null if this NullableInt32 is Null otherwise a NullableByte whose Value equals the Value of this instance.


Exception TypeCondition
OverflowException This NullableInt32 value is a number that is less than MinValue or greater than MaxValue.

See Also

NullableInt32 Class | NullableTypes Namespace