UIntPtr 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
UIntPtr의 새 인스턴스를 초기화합니다.
오버로드
UIntPtr(UInt32) |
지정된 32비트 부호 없는 정수로 구조체의 UIntPtr 새 인스턴스를 초기화합니다. |
UIntPtr(UInt64) |
지정된 64비트 부호 없는 정수 를 사용하여 의 UIntPtr 새 인스턴스를 초기화합니다. |
UIntPtr(Void*) |
알 수 없는 형식의 지정된 포인터를 사용하여 UIntPtr의 새 인스턴스를 초기화합니다. |
UIntPtr(UInt32)
- Source:
- UIntPtr.cs
- Source:
- UIntPtr.cs
- Source:
- UIntPtr.cs
지정된 32비트 부호 없는 정수로 구조체의 UIntPtr 새 인스턴스를 초기화합니다.
public:
UIntPtr(System::UInt32 value);
public UIntPtr (uint value);
new unativeint : uint32 -> unativeint
Public Sub New (value As UInteger)
매개 변수
- value
- UInt32
32비트 부호 없는 정수입니다.
적용 대상
UIntPtr(UInt64)
- Source:
- UIntPtr.cs
- Source:
- UIntPtr.cs
- Source:
- UIntPtr.cs
지정된 64비트 부호 없는 정수 를 사용하여 의 UIntPtr 새 인스턴스를 초기화합니다.
public:
UIntPtr(System::UInt64 value);
public UIntPtr (ulong value);
new unativeint : uint64 -> unativeint
Public Sub New (value As ULong)
매개 변수
- value
- UInt64
64비트 부호 없는 정수입니다.
예외
32비트 프로세스에서 가 value
너무 커서 로 나타낼 수 없습니다 UIntPtr.
설명
의 값 value
에 실행 중인 프로세스가 지원하는 것보다 더 많은 비트가 필요한 경우에만 예외가 throw됩니다.
적용 대상
UIntPtr(Void*)
- Source:
- UIntPtr.cs
- Source:
- UIntPtr.cs
- Source:
- UIntPtr.cs
중요
이 API는 CLS 규격이 아닙니다.
알 수 없는 형식의 지정된 포인터를 사용하여 UIntPtr의 새 인스턴스를 초기화합니다.
public:
UIntPtr(void* value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public UIntPtr (void* value);
public UIntPtr (void* value);
[System.CLSCompliant(false)]
public UIntPtr (void* value);
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
new unativeint : nativeptr<unit> -> unativeint
new unativeint : nativeptr<unit> -> unativeint
[<System.CLSCompliant(false)>]
new unativeint : nativeptr<unit> -> unativeint
매개 변수
- value
- Void*
알 수 없는 형식의 포인터입니다.
- 특성
추가 정보
적용 대상
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기