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