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

Definição

Retorna 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 do qual recuperar uma representação de inteiro interno.

Retornos

IntPtr

nativeint

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

Comentários

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

Aplica-se a