Lingua

GCHandle<T>.ToIntPtr(GCHandle<T>) Metodo

Definizione

Restituisce la rappresentazione intera interna di un GCHandle<T> oggetto .

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

Parametri

value
GCHandle<T>

Oggetto GCHandle<T> da cui recuperare una rappresentazione intera interna.

Valori restituiti

IntPtr

nativeint

Oggetto IntPtr che rappresenta un GCHandle<T> oggetto .

Commenti

La IntPtr rappresentazione di GCHandle<T> non è modificabile con GCHandle.

Si applica a