Convert.ToSingle Method (DateTime)
.NET Framework (current version)
Calling this method always throws InvalidCastException.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- value
-
Type:
System.DateTime
The date and time value to convert.
| Exception | Condition |
|---|---|
| InvalidCastException | This conversion is not supported. |
.NET Framework
Available since 1.1
Available since 1.1
Show: