GCHandle.Explicit 演算子

定義

GCHandle オブジェクトの値を別の型に変換します。

オーバーロード

Explicit(IntPtr to GCHandle)

GCHandle は、内部整数表現を使用して格納されます。

Explicit(GCHandle to IntPtr)

GCHandle は、内部整数表現を使用して格納されます。

Explicit(IntPtr to GCHandle)

ソース:
GCHandle.cs
ソース:
GCHandle.cs
ソース:
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)

ソース:
GCHandle.cs
ソース:
GCHandle.cs
ソース:
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整数値を取得するために使用できます。

こちらもご覧ください

適用対象