NullableTypes Class Library

NullableByte Explicit NullableTypes.NullableDecimal to NullableTypes.NullableByte Conversion 

Converts the NullableDecimal parameter to a NullableByte structure.

[Visual Basic]
returnValue = NullableByte.op_Explicit(x)
public static explicit operator NullableByte(
   NullableDecimal x


A NullableDecimal to be converted to a NullableByte structure.

Return Value

Null if x is Null otherwise a new NullableByte structure constructed from the Value of x.


Exception TypeCondition
OverflowExceptionx value is a number that is less than MinValue or greater than MaxValue.

See Also

NullableByte Class | NullableTypes Namespace