IntPtr 생성자

정의

IntPtr의 새 인스턴스를 초기화합니다.

오버로드

Name Description
IntPtr(Int32)

지정된 32비트 부가 정수 사용을 위한 IntPtr 새 인스턴스를 초기화합니다.

IntPtr(Int64)

지정된 64비트 부가 정수 사용을 위한 IntPtr 새 인스턴스를 초기화합니다.

IntPtr(Void*)

지정되지 않은 형식에 대해 지정된 포인터를 사용하는 새 인스턴스 IntPtr 를 초기화합니다.

IntPtr(Int32)

Source:
IntPtr.cs
Source:
IntPtr.cs
Source:
IntPtr.cs
Source:
IntPtr.cs
Source:
IntPtr.cs

지정된 32비트 부가 정수 사용을 위한 IntPtr 새 인스턴스를 초기화합니다.

public:
 IntPtr(int value);
public IntPtr(int value);
new nativeint : int -> nativeint
Public Sub New (value As Integer)

매개 변수

value
Int32

부가된 32비트 정수입니다.

적용 대상

IntPtr(Int64)

Source:
IntPtr.cs
Source:
IntPtr.cs
Source:
IntPtr.cs
Source:
IntPtr.cs
Source:
IntPtr.cs

지정된 64비트 부가 정수 사용을 위한 IntPtr 새 인스턴스를 초기화합니다.

public:
 IntPtr(long value);
public IntPtr(long value);
new nativeint : int64 -> nativeint
Public Sub New (value As Long)

매개 변수

value
Int64

부가된 64비트 정수입니다.

예외

32비트 프로세스 value 에서 너무 크거나 너무 작아서 로 나타낼 수 없습니다 IntPtr.

설명

예외는 실행 중인 프로세스에서 지원하는 것보다 더 많은 비트가 필요한 경우에만 value throw됩니다.

적용 대상

IntPtr(Void*)

Source:
IntPtr.cs
Source:
IntPtr.cs
Source:
IntPtr.cs
Source:
IntPtr.cs
Source:
IntPtr.cs

Important

이 API는 CLS 규격이 아닙니다.

지정되지 않은 형식에 대해 지정된 포인터를 사용하는 새 인스턴스 IntPtr 를 초기화합니다.

public:
 IntPtr(void* value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public IntPtr(void* value);
[System.CLSCompliant(false)]
public IntPtr(void* value);
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
new nativeint : nativeptr<unit> -> nativeint
[<System.CLSCompliant(false)>]
new nativeint : nativeptr<unit> -> nativeint

매개 변수

value
Void*

지정되지 않은 형식에 대한 포인터입니다.

특성

추가 정보

적용 대상