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