NullableTypes Class Library

NullableSingle.ToNullableByte Method 

Converts this NullableSingle instance to a NullableByte.

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

Return Value

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

Exceptions

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

See Also

NullableSingle Class | NullableTypes Namespace