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

Définition

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

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

Paramètres

value
GCHandle<T>

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

Retours

IntPtr

nativeint

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

Remarques

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

S’applique à