asp.net.ph

Convert.ToSingle Method ( DateTime )

System Namespace   Convert Class


Calling this method always throws InvalidCastException.

[ VB ]
Overloads Public Shared Function ToSingle ( _
   ByVal value As DateTime _
) As Single

[ C# ]
public static float ToSingle ( 
   DateTime value
);

[ C++ ]
public: static float ToSingle ( 
   DateTime value
);

[ JScript ]
public static function ToSingle (
   value : DateTime
) : float;

Parameters

value
A DateTime.

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.

See Also

Convert Members   Convert.ToSingle Overload List   DateTime Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note