C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Convert Class
Convert Methods
ToUInt32 Method
ToUInt32 Method (Boolean)
ToUInt32 Method (Byte)
ToUInt32 Method (Char)
ToUInt32 Method (DateTime)
ToUInt32 Method (Decimal)
ToUInt32 Method (Double)
ToUInt32 Method (Int16)
ToUInt32 Method (Int32)
ToUInt32 Method (Int64)
ToUInt32 Method (Object)
ToUInt32 Method (SByte)
ToUInt32 Method (Single)
ToUInt32 Method (String)
ToUInt32 Method (UInt16)
ToUInt32 Method (UInt32)
ToUInt32 Method (UInt64)
ToUInt32 Method (Object, IFormatProvider)
ToUInt32 Method (String, IFormatProvider)
ToUInt32 Method (String, Int32)
Convert
ToUInt32 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
uint
ToUInt32
(
DateTime
value
)
Parameters
value
Type:
System
DateTime
The date and time value to convert.
Return Value
Type:
UInt32
This conversion is not supported. No value is returned.
Exceptions
Exception
Condition
InvalidCastException
This conversion is not supported.
See Also
Reference
Convert Class
ToUInt32 Overload
System Namespace