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

Définition

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

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

Paramètres

value
PinnedGCHandle<T>

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

Retours

IntPtr

nativeint

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

Remarques

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

S’applique à