UIntPtr.ToUInt32 UIntPtr.ToUInt32 UIntPtr.ToUInt32 UIntPtr.ToUInt32 Method

Definition

Converts the value of this instance to a 32-bit unsigned integer.

public:
 System::UInt32 ToUInt32();
public uint ToUInt32 ();
member this.ToUInt32 : unit -> uint32
Public Function ToUInt32 () As UInteger

Returns

A 32-bit unsigned integer equal to the value of this instance.

Exceptions

On a 64-bit platform, the value of this instance is too large to represent as a 32-bit unsigned integer.

Remarks

An exception is only thrown if the value of value requires more bits than the current platform supports.

Applies to