Class RetrievableInterfaceUnownedHandle
public class RetrievableInterfaceUnownedHandle : RetrievableInterfaceHandle, IDisposable
- Inheritance
-
RetrievableInterfaceUnownedHandle
- Implements
- Inherited Members
Constructors
RetrievableInterfaceUnownedHandle(nint)
Creates a new instance of RetrievableInterfaceOwnedHandle. Assumes that the given pointer is unowned by the runtime.
public RetrievableInterfaceUnownedHandle(nint ptr)
Parameters
ptrnint
Properties
NullHandle
public static RetrievableInterfaceUnownedHandle NullHandle { get; }
Property Value
Methods
Copy()
public RetrievableInterfaceOwnedHandle Copy()
Returns
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()