GCHandle<T>.ToIntPtr(GCHandle<T>) メソッド

定義

GCHandle<T> オブジェクトの内部整数表現を返します。

public:
 static IntPtr ToIntPtr(System::Runtime::InteropServices::GCHandle<T> value);
public static IntPtr ToIntPtr(System.Runtime.InteropServices.GCHandle<T> value);
static member ToIntPtr : System.Runtime.InteropServices.GCHandle<'T (requires 'T : null)> -> nativeint
Public Shared Function ToIntPtr (value As GCHandle(Of T)) As IntPtr

パラメーター

value
GCHandle<T>

内部整数表現を取得する GCHandle<T> オブジェクト。

返品

IntPtr

nativeint

IntPtr オブジェクトを表すGCHandle<T> オブジェクト。

注釈

GCHandle<T>IntPtr表現は、GCHandleと相互運用できません。

適用対象