Class WeakRefUnownedHandle
public class WeakRefUnownedHandle : WeakRefHandle, IDisposable
- Inheritance
-
WeakRefUnownedHandle
- Implements
- Inherited Members
Constructors
WeakRefUnownedHandle(IntPtr)
Creates a new instance of WeakRefOwnedHandle. Assumes that the given pointer is unowned by the runtime.
public WeakRefUnownedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Properties
NullHandle
public static WeakRefUnownedHandle NullHandle { get; }
Property Value
Methods
Copy()
public WeakRefOwnedHandle Copy()
Returns
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()