PinnedGCHandle<T>.ToIntPtr(PinnedGCHandle<T>) Methode

Definition

Gibt die interne ganzzahlige Darstellung eines PinnedGCHandle<T> Objekts zurück.

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

Parameter

value
PinnedGCHandle<T>

Ein PinnedGCHandle<T> Objekt, aus dem eine interne ganzzahlige Darstellung abgerufen werden soll.

Gibt zurück

IntPtr

nativeint

Ein IntPtr Objekt, das ein PinnedGCHandle<T> Objekt darstellt.

Hinweise

Die IntPtr Darstellung von PinnedGCHandle<T> ist nicht interchangable mit GCHandle.

Gilt für: