다음을 통해 공유


UIntPtr.ToUInt32 메서드

이 인스턴스의 값을 32비트의 부호 없는 정수로 변환합니다.

이 메서드는 CLS 규격이 아닙니다.  

네임스페이스: System
어셈블리: mscorlib(mscorlib.dll)

구문

‘선언
Public Function ToUInt32 As UInteger
‘사용 방법
Dim instance As UIntPtr
Dim returnValue As UInteger

returnValue = instance.ToUInt32
public uint ToUInt32 ()
public:
unsigned int ToUInt32 ()
public UInt32 ToUInt32 ()
public function ToUInt32 () : uint

반환 값

이 인스턴스의 값과 같은 32비트의 부호 없는 정수입니다.

예외

예외 형식 조건

OverflowException

64비트 플랫폼에서 이 인스턴스의 값이 너무 커서 32비트의 부호 없는 정수로 나타낼 수 없는 경우

설명

value의 값에서 현재 플랫폼에서 지원하는 것 이상의 비트가 필요한 경우에만 예외가 throw됩니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0, 1.0에서 지원

참고 항목

참조

UIntPtr 구조체
UIntPtr 멤버
System 네임스페이스