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

Definição

Devolve a representação inteira interna de um PinnedGCHandle<T> objeto.

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

Parâmetros

value
PinnedGCHandle<T>

Um PinnedGCHandle<T> objeto para recuperar uma representação interna inteira.

Devoluções

IntPtr

nativeint

Um IntPtr objeto que representa um PinnedGCHandle<T> objeto.

Observações

A IntPtr representação de PinnedGCHandle<T> não é intercambiável com GCHandle.

Aplica-se a