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
[C#]
public static byte From(
   NullableByte x,
   byte conventionalNullValue
);

Parameters

x
The NullableByte value to convert.
conventionalNullValue
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