WeakGCHandle<T>.ToIntPtr(WeakGCHandle<T>) Méthode

Définition

Retourne la représentation entière interne d’un WeakGCHandle<T> objet.

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

Paramètres

value
WeakGCHandle<T>

Objet WeakGCHandle<T> à partir duquel récupérer une représentation entière interne.

Retours

IntPtr

nativeint

Objet IntPtr qui représente un WeakGCHandle<T> objet.

Remarques

La IntPtr représentation de n’est WeakGCHandle<T> pas immuable avec GCHandle.

S’applique à