UIntPtr.ToUInt32 メソッド
定義
このインスタンスの値を 32 ビット符号なし整数に変換します。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
戻り値
このインスタンスの値と等価な 32 ビット符号なし整数。A 32-bit unsigned integer equal to the value of this instance.
例外
64 ビット プラットフォームでは、このインスタンスの値が大きすぎて 32 ビット符号なし整数として表すことができません。On a 64-bit platform, the value of this instance is too large to represent as a 32-bit unsigned integer.
注釈
例外がスローされるのは、の値が、 value
現在のプラットフォームでサポートされているよりも多くのビットを必要とする場合のみです。An exception is only thrown if the value of value
requires more bits than the current platform supports.