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