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