PinnedGCHandle<T>.ToIntPtr(PinnedGCHandle<T>) Methode

Definitie

Retourneert de interne gehele getalweergave van een PinnedGCHandle<T> object.

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

Parameters

value
PinnedGCHandle<T>

Een PinnedGCHandle<T> object waaruit een interne geheel getalweergave moet worden opgehaald.

Retouren

IntPtr

nativeint

Een IntPtr object dat een PinnedGCHandle<T> object vertegenwoordigt.

Opmerkingen

De IntPtr representatie van PinnedGCHandle<T> is niet interwisselbaar met GCHandle.

Van toepassing op