Marshal.InitHandle(SafeHandle, IntPtr) Metoda

Definicja

Inicjuje podstawowy uchwyt nowo utworzonej SafeHandle wartości.

public:
 static void InitHandle(System::Runtime::InteropServices::SafeHandle ^ safeHandle, IntPtr handle);
public static void InitHandle (System.Runtime.InteropServices.SafeHandle safeHandle, IntPtr handle);
static member InitHandle : System.Runtime.InteropServices.SafeHandle * nativeint -> unit
Public Shared Sub InitHandle (safeHandle As SafeHandle, handle As IntPtr)

Parametry

safeHandle
SafeHandle

SafeHandle wystąpienie do aktualizacji

handle
IntPtr

nativeint

Istniejące dojście

Dotyczy