Class PrintBackendOwnedHandle
public class PrintBackendOwnedHandle : PrintBackendHandle, IDisposable
- Inheritance
-
PrintBackendOwnedHandle
- Implements
- Inherited Members
Constructors
PrintBackendOwnedHandle(nint)
Creates a new instance of PrintBackendOwnedHandle. Assumes that the given pointer is owned by the runtime.
public PrintBackendOwnedHandle(nint ptr)
Parameters
ptr
nint
Methods
FromUnowned(nint)
Create a PrintBackendOwnedHandle from a pointer that is assumed unowned.
public static PrintBackendOwnedHandle FromUnowned(nint ptr)
Parameters
ptr
nintA pointer to a PrintBackend which is not owned by the runtime.
Returns
- PrintBackendOwnedHandle
A PrintBackendOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()