NullableTypes Class Library

NullConvert.From Method (NullableByte, Byte)

Converts the specified NullableByte value to an equivalent Byte value using a conventional Byte value to represent the Null value.

[Visual Basic]
Overloads Public Shared Function From( _
   ByVal x As NullableByte, _
   ByVal conventionalNullValue As Byte _
) As Byte
public static byte From(
   NullableByte x,
   byte conventionalNullValue


The NullableByte value to convert.
The Byte value that conventionally represent the null value.

Return Value

conventionalNullValue if x is Null otherwise the Value of x.

See Also

NullConvert Class | NullableTypes.HelperFunctions Namespace | NullConvert.From Overload List