GCHandle.Explicit 연산자

정의

GCHandle 개체의 값을 다른 형식으로 변환합니다.

오버로드

Explicit(IntPtr to GCHandle)

GCHandle은 내부 정수 표현을 사용하여 저장됩니다.

Explicit(GCHandle to IntPtr)

GCHandle은 내부 정수 표현을 사용하여 저장됩니다.

Explicit(IntPtr to GCHandle)

Source:
GCHandle.cs
Source:
GCHandle.cs
Source:
GCHandle.cs

GCHandle은 내부 정수 표현을 사용하여 저장됩니다.

public:
 static explicit operator System::Runtime::InteropServices::GCHandle(IntPtr value);
[System.Security.SecurityCritical]
public static explicit operator System.Runtime.InteropServices.GCHandle (IntPtr value);
public static explicit operator System.Runtime.InteropServices.GCHandle (IntPtr value);
[<System.Security.SecurityCritical>]
static member op_Explicit : nativeint -> System.Runtime.InteropServices.GCHandle
static member op_Explicit : nativeint -> System.Runtime.InteropServices.GCHandle
Public Shared Narrowing Operator CType (value As IntPtr) As GCHandle

매개 변수

value
IntPtr

nativeint

변환이 필요한 핸들을 나타내는 IntPtr입니다.

반환

내부 정수 표현을 사용하여 저장된 GCHandle 개체입니다.

특성

설명

이 메서드를 사용하면 정수 값에서 를 GCHandle 검색할 수 있습니다.

추가 정보

적용 대상

Explicit(GCHandle to IntPtr)

Source:
GCHandle.cs
Source:
GCHandle.cs
Source:
GCHandle.cs

GCHandle은 내부 정수 표현을 사용하여 저장됩니다.

public:
 static explicit operator IntPtr(System::Runtime::InteropServices::GCHandle value);
public static explicit operator IntPtr (System.Runtime.InteropServices.GCHandle value);
static member op_Explicit : System.Runtime.InteropServices.GCHandle -> nativeint
Public Shared Narrowing Operator CType (value As GCHandle) As IntPtr

매개 변수

value
GCHandle

정수가 필요한 GCHandle입니다.

반환

IntPtr

nativeint

정수 값입니다.

설명

이 메서드는 에서 정수 값을 검색하는 데 사용할 수 있습니다 GCHandle.

추가 정보

적용 대상