C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Convert Class
Convert Methods
ToSingle Method
ToSingle Method (Boolean)
ToSingle Method (Byte)
ToSingle Method (Char)
ToSingle Method (DateTime)
ToSingle Method (Decimal)
ToSingle Method (Double)
ToSingle Method (Int16)
ToSingle Method (Int32)
ToSingle Method (Int64)
ToSingle Method (Object)
ToSingle Method (SByte)
ToSingle Method (Single)
ToSingle Method (String)
ToSingle Method (UInt16)
ToSingle Method (UInt32)
ToSingle Method (UInt64)
ToSingle Method (Object, IFormatProvider)
ToSingle Method (String, IFormatProvider)
Convert
ToSingle Method (Char)
Calling this method always throws
InvalidCastException
.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
static
float
ToSingle
(
char
value
)
Parameters
value
Type:
System
Char
The Unicode character to convert.
Return Value
Type:
Single
This conversion is not supported. No value is returned.
Exceptions
Exception
Condition
InvalidCastException
This conversion is not supported.
See Also
Reference
Convert Class
ToSingle Overload
System Namespace