NullableTypes Class Library

NullableString.ToNullableByte Method 

Converts this NullableString instance to a NullableByte.

[Visual Basic]
Public Function ToNullableByte() As NullableByte
[C#]
public NullableByte ToNullableByte();

Return Value

A NullableByte that is Null if this NullableString is Null otherwise a NullableByte whose Value equals the the number represented by this NullableString.

Exceptions

Exception TypeCondition
OverflowException This NullableString represent a number that is less than MinValue or greater than MaxValue.

See Also

NullableString Class | NullableTypes Namespace