NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DateTime.ToDouble

Converts this instance to a Double value

[Visual Basic]
Overridable Public Function ToDouble() As Double
[C#]
public virtual double ToDouble();
[C++]
public: virtual double ToDouble();
[JScript]
public function ToDouble() : double;

Return Value

The Double value for this instance.

Exceptions

Exception Type Condition
InvalidCastException If this DateTime is not a Double value.

Remarks

The ToDouble method casts this DateTime instance into a double-precision floating point number (double) value. An exception is thrown if this instance cannot be coerced into the double.

See Also

DateTime Structure | DateTime Members | System Namespace | Double