Lingua

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

Definizione

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

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

Parametri

value
WeakGCHandle<T>

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

Valori restituiti

IntPtr

nativeint

Oggetto IntPtr che rappresenta un WeakGCHandle<T> oggetto .

Commenti

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

Si applica a