Export (0) Print
Expand All

Convert.ToDouble Method (DateTime)

.NET Framework 1.1

Calling this method always throws InvalidCastException.

[Visual Basic]
Overloads Public Shared Function ToDouble( _
   ByVal value As DateTime _
) As Double
[C#]
public static double ToDouble(
 DateTime value
);
[C++]
public: static double ToDouble(
 DateTime value
);
[JScript]
public static function ToDouble(
   value : DateTime
) : double;

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.

Requirements

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

See Also

Convert Class | Convert Members | System Namespace | Convert.ToDouble Overload List

Show:
© 2015 Microsoft