NullableTypes Class Library

NullableSingle Explicit NullableTypes.NullableString to NullableTypes.NullableSingle Conversion 

Converts the specified NullableString parameter to a NullableSingle structure.

[Visual Basic]
returnValue = NullableSingle.op_Explicit(x)
public static explicit operator NullableSingle(
   NullableString x


The NullableString to be converted.

Return Value

Null If x is Null otherwise a new NullableSingle structure containing the parsed value.


The x parameter can contain PositiveInfinitySymbol, NegativeInfinitySymbol and NaNSymbol.


Exception TypeCondition
ArgumentNullExceptionx is a null reference (Nothing in Visual Basic).
FormatExceptionx is not a number in a valid format.
OverflowExceptionx represents a number less than MinValue or greater than MaxValue.

See Also

NullableSingle Class | NullableTypes Namespace | Parse