IntPtr.Explicit 연산자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| Explicit(Void* to IntPtr) |
지정된 포인터를 지정되지 않은 형식으로 변환합니다 IntPtr. 이 API는 CLS 규격이 아닙니다. |
| Explicit(IntPtr to Void*) |
지정된 IntPtr 값을 지정되지 않은 형식으로 포인터로 변환합니다. 이 API는 CLS 규격이 아닙니다. |
| Explicit(IntPtr to Int64) |
지정된 IntPtr 값을 64비트 부속 정수로 변환합니다. |
| Explicit(IntPtr to Int32) |
지정된 값을 부가된 IntPtr 32비트 정수로 변환합니다. |
| Explicit(Int64 to IntPtr) |
부가된 64비트 정 IntPtr수의 값을 .로 변환합니다. |
| Explicit(Int32 to IntPtr) |
부가된 32비트 정 IntPtr수의 값을 .로 변환합니다. |
Explicit(Void* to IntPtr)
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
Important
이 API는 CLS 규격이 아닙니다.
지정된 포인터를 지정되지 않은 형식으로 변환합니다 IntPtr.
이 API는 CLS 규격이 아닙니다.
public:
static explicit operator IntPtr(void* value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public static explicit operator IntPtr(void* value);
[System.CLSCompliant(false)]
public static explicit operator IntPtr(void* value);
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member op_Explicit : nativeptr<unit> -> nativeint
[<System.CLSCompliant(false)>]
static member op_Explicit : nativeptr<unit> -> nativeint
매개 변수
- value
- Void*
지정되지 않은 형식에 대한 포인터입니다.
반품
nativeint
초기화된 새 인스턴스입니다 IntPtrvalue.
- 특성
추가 정보
적용 대상
Explicit(IntPtr to Void*)
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
Important
이 API는 CLS 규격이 아닙니다.
지정된 IntPtr 값을 지정되지 않은 형식으로 포인터로 변환합니다.
이 API는 CLS 규격이 아닙니다.
public:
static explicit operator void*(IntPtr value);
[System.CLSCompliant(false)]
public static explicit operator void*(IntPtr value);
[<System.CLSCompliant(false)>]
static member op_Explicit : nativeint -> nativeptr<unit>
매개 변수
- value
-
IntPtr
nativeint
변환할 부가 정수입니다.
반품
의 value내용입니다.
- 특성
추가 정보
적용 대상
Explicit(IntPtr to Int64)
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
지정된 IntPtr 값을 64비트 부속 정수로 변환합니다.
public:
static explicit operator long(IntPtr value);
public static explicit operator long(IntPtr value);
static member op_Explicit : nativeint -> int64
Public Shared Narrowing Operator CType (value As IntPtr) As Long
매개 변수
- value
-
IntPtr
nativeint
변환할 부가 정수입니다.
반품
의 value내용입니다.
추가 정보
적용 대상
Explicit(IntPtr to Int32)
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
지정된 값을 부가된 IntPtr 32비트 정수로 변환합니다.
public:
static explicit operator int(IntPtr value);
public static explicit operator int(IntPtr value);
static member op_Explicit : nativeint -> int
Public Shared Narrowing Operator CType (value As IntPtr) As Integer
매개 변수
- value
-
IntPtr
nativeint
변환할 부가 정수입니다.
반품
의 value내용입니다.
예외
64비트 프로세스에서 값 value 이 너무 커서 부가된 32비트 정수로 나타낼 수 없습니다.
설명
예외는 실행 중인 프로세스에서 지원하는 것보다 더 많은 비트가 필요한 경우에만 value throw됩니다.
추가 정보
적용 대상
Explicit(Int64 to IntPtr)
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
부가된 64비트 정 IntPtr수의 값을 .로 변환합니다.
public:
static explicit operator IntPtr(long value);
public static explicit operator IntPtr(long value);
static member op_Explicit : int64 -> nativeint
Public Shared Narrowing Operator CType (value As Long) As IntPtr
매개 변수
- value
- Int64
부가된 64비트 정수입니다.
반품
nativeint
초기화된 새 인스턴스입니다 IntPtrvalue.
예외
32비트 프로세스 value 에서 너무 커서 로 나타낼 수 없습니다 IntPtr.
추가 정보
적용 대상
Explicit(Int32 to IntPtr)
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
- Source:
- IntPtr.cs
부가된 32비트 정 IntPtr수의 값을 .로 변환합니다.
public:
static explicit operator IntPtr(int value);
public static explicit operator IntPtr(int value);
static member op_Explicit : int -> nativeint
Public Shared Narrowing Operator CType (value As Integer) As IntPtr
매개 변수
- value
- Int32
부가된 32비트 정수입니다.
반품
nativeint
초기화된 새 인스턴스입니다 IntPtrvalue.