The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Convert::ToUInt64 Method (DateTime)
.NET Framework (current version)
Calling this method always throws InvalidCastException.
This API is not CLS-compliant.
Assembly: mscorlib (in mscorlib.dll)
public: [CLSCompliantAttribute(false)] static unsigned long long ToUInt64( DateTime value )
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: