NullableTypes Class Library

NullableByte Explicit NullableTypes.NullableInt32 to NullableTypes.NullableByte Conversion 

Converts the NullableInt32 parameter to a NullableByte structure.

[Visual Basic]
returnValue = NullableByte.op_Explicit(x)
[C#]
public static explicit operator NullableByte(
   NullableInt32 x
);

Parameters

x
A NullableInt32 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.

Exceptions

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

See Also

NullableByte Class | NullableTypes Namespace