ToSingle Method (Char)

Convert.ToSingle Method (Char)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Calling this method always throws InvalidCastException.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Shared Function ToSingle ( _
	value As Char _
) As Single

Parameters

value
Type: System.Char
A Unicode character.

Return Value

Type: System.Single
This conversion is not supported. No value is returned.

ExceptionCondition
InvalidCastException

This conversion is not supported.

This method is reserved for future use.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft