NullableTypes Class Library

NullableInt64.ToNullableByte Method 

Converts this NullableInt64 instance to a NullableByte.

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

Return Value

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

Exceptions

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

See Also

NullableInt64 Class | NullableTypes Namespace