NullableTypes Class Library

NullableByte.Parse Method 

Converts the specified String representation of a byte to its NullableByte equivalent.

[Visual Basic]
Public Shared Function Parse( _
   ByVal s As String _
) As NullableByte
public static NullableByte Parse(
   string s


The String to be converted.

Return Value

A NullableByte structure containing the parsed value.


Exception TypeCondition
ArgumentNullExceptions is a null reference (Nothing in Visual Basic).
FormatExceptions does not consist solely of an optional sign followed by a sequence of digits ranging from 0 to 9.
OverflowExceptions represents a number less than MinValue or greater than MaxValue.

See Also

NullableByte Class | NullableTypes Namespace