Export (0) Print
Expand All

Convert.ToUInt32 Method (DateTime)

.NET Framework 1.1

Calling this method always throws InvalidCastException.

This method is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[Visual Basic]
<CLSCompliant(False)>
Overloads Public Shared Function ToUInt32( _
   ByVal value As DateTime _
) As UInt32
[C#]
[CLSCompliant(false)]
public static uint ToUInt32(
 DateTime value
);
[C++]
[CLSCompliant(false)]
public: static unsigned int ToUInt32(
 DateTime value
);
[JScript]
public
   CLSCompliant(false)
static function ToUInt32(
 value : DateTime
) : UInt32;

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.ToUInt32 Overload List

Show:
© 2014 Microsoft