C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Convert Class
Convert Methods
ToUInt64 Method
ToUInt64 Method (Boolean)
ToUInt64 Method (Byte)
ToUInt64 Method (Char)
ToUInt64 Method (DateTime)
ToUInt64 Method (Decimal)
ToUInt64 Method (Double)
ToUInt64 Method (Int16)
ToUInt64 Method (Int32)
ToUInt64 Method (Int64)
ToUInt64 Method (Object)
ToUInt64 Method (SByte)
ToUInt64 Method (Single)
ToUInt64 Method (String)
ToUInt64 Method (UInt16)
ToUInt64 Method (UInt32)
ToUInt64 Method (UInt64)
ToUInt64 Method (Object, IFormatProvider)
ToUInt64 Method (String, IFormatProvider)
ToUInt64 Method (String, Int32)
Convert
.
ToUInt64 Method (DateTime)
Calling this method always throws
InvalidCastException
.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
static
ulong
ToUInt64
(
DateTime
value
)
Parameters
value
Type:
System
.
DateTime
The date and time value to convert.
Return Value
Type:
UInt64
This conversion is not supported. No value is returned.
Exceptions
Exception
Condition
InvalidCastException
This conversion is not supported.
See Also
Reference
Convert Class
ToUInt64 Overload
System Namespace