This documentation is archived and is not being maintained.

Convert.ToSingle Method (Char)

.NET Framework 1.1

Calling this method always throws InvalidCastException.

[Visual Basic]
Overloads Public Shared Function ToSingle( _
   ByVal value As Char _
) As Single
[C#]
public static float ToSingle(
 char value
);
[C++]
public: static float ToSingle(
 __wchar_t value
);
[JScript]
public static function ToSingle(
   value : Char
) : float;

Parameters

value
A Unicode character.

Return Value

This conversion is not supported. No value is returned.

Exceptions

Exception Type Condition
InvalidCastException This conversion is not supported.

Remarks

This method is reserved for future use.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Convert Class | Convert Members | System Namespace | Convert.ToSingle Overload List | Char

Show: