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