Class ShortcutsShortcutClassOwnedHandle
public class ShortcutsShortcutClassOwnedHandle : ShortcutsShortcutClassHandle, IDisposable
- Inheritance
-
ShortcutsShortcutClassOwnedHandle
- Implements
- Inherited Members
Constructors
ShortcutsShortcutClassOwnedHandle(IntPtr)
Creates a new instance of ShortcutsShortcutClassOwnedHandle. Assumes that the given pointer is owned by the runtime.
public ShortcutsShortcutClassOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a ShortcutsShortcutClassOwnedHandle from a pointer that is assumed unowned.
public static ShortcutsShortcutClassOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA 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()