NullableTypes Class Library

NullableByte Explicit NullableTypes.NullableString to NullableTypes.NullableByte Conversion 

Converts the specified NullableString parameter to a NullableByte structure.

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

Parameters

x
The NullableString to be converted.

Return Value

Null if x is Null otherwise a new NullableByte structure containing the parsed value.

Exceptions

Exception TypeCondition
FormatExceptionx does not consist solely of an optional sign followed by a sequence of digits ranging from 0 to 9.
OverflowExceptionx represents a number less than MinValue or greater than MaxValue.

See Also

NullableByte Class | NullableTypes Namespace