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

Converts this instance to a UInt32.

[Visual Basic]
Overridable Public Function ToUInt32() As UInt32
[C#]
public virtual uint ToUInt32();
[C++]
public: virtual unsigned int ToUInt32();
[JScript]
public function ToUInt32() : UInt32;

Return Value

The UInt32value for this instance.

Exceptions

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

Remarks

The ToUInt32 method casts this DateTime instance into a UInt32 value. An exception is thrown if this instance cannot be coerced into a 32-bit unsigned integer (uint).

See Also

DateTime Structure | DateTime Members | System Namespace | Int32 | UInt32