SafeHandleMarshaller<T>.ManagedToUnmanagedIn 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 in
parameter or a parameter passed by value in managed-to-unmanaged scenarios like P/Invokes.
public: where T : SafeHandlevalue class SafeHandleMarshaller<T>::ManagedToUnmanagedIn
public struct SafeHandleMarshaller<T>.ManagedToUnmanagedIn where T : SafeHandle
type SafeHandleMarshaller<'T (requires 'T :> SafeHandle)>.ManagedToUnmanagedIn = struct
Public Structure SafeHandleMarshaller(Of T).ManagedToUnmanagedIn
- T
- Inheritance
Free() |
Releases any references that are keeping the managed handle alive. |
From |
Initializes the marshaller from a managed handle. |
To |
Gets the unmanaged handle. |
Product | Versions |
---|---|
.NET | 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: