NullableTypes Class Library

NullableDecimal.ToNullableByte Method 

Converts this NullableDecimal instance to a NullableByte.

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

Return Value

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

Exceptions

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

See Also

NullableDecimal Class | NullableTypes Namespace