SafeHandleMarshaller<T>.ManagedToUnmanagedOut Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Marshals a SafeHandle as its underlying handle value as an out
parameter in managed-to-unmanaged scenarios like P/Invokes.
public: where T : SafeHandlevalue class SafeHandleMarshaller<T>::ManagedToUnmanagedOut
public struct SafeHandleMarshaller<T>.ManagedToUnmanagedOut where T : SafeHandle
type SafeHandleMarshaller<'T (requires 'T :> SafeHandle)>.ManagedToUnmanagedOut = struct
Public Structure SafeHandleMarshaller(Of T).ManagedToUnmanagedOut
- T
- Inheritance
Safe |
Initializes a new instance of SafeHandleMarshaller<T>.ManagedToUnmanagedOut in a default state. |
Free() |
Frees any resources and reference counts owned by the marshaller. |
From |
Initializes the marshaller from an unmanaged handle. |
To |
Retrieves the managed handle from the marshaller. |
Termék | Verziók |
---|---|
.NET | 8, 9, 10 |
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: