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

Definition

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

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

Parameter

value
WeakGCHandle<T>

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

Gibt zurück

IntPtr

nativeint

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

Hinweise

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

Gilt für: