Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


SafeHandleMarshaller<T>.ManagedToUnmanagedOut Struct

Definition

Marshals a SafeHandle as its underlying handle value as an out parameter in managed-to-unmanaged scenarios like P/Invokes.

C#
public struct SafeHandleMarshaller<T>.ManagedToUnmanagedOut where T : SafeHandle

Type Parameters

T
Inheritance
SafeHandleMarshaller<T>.ManagedToUnmanagedOut

Constructors

Methods

Free()

Frees any resources and reference counts owned by the marshaller.

FromUnmanaged(IntPtr)

Initializes the marshaller from an unmanaged handle.

ToManaged()

Retrieves the managed handle from the marshaller.

Applies to

Termék Verziók
.NET 8, 9, 10