Class ImageListOwnedHandle
public class ImageListOwnedHandle : ImageListHandle, IDisposable, IEquatable<ImageListHandle>
- Inheritance
-
ImageListOwnedHandle
- Implements
- Inherited Members
Constructors
ImageListOwnedHandle(nint)
Creates a new instance of ImageListOwnedHandle. Assumes that the given pointer is owned by the runtime.
public ImageListOwnedHandle(nint ptr)
Parameters
ptrnint
Methods
FromUnowned(nint)
Create a ImageListOwnedHandle from a pointer that is assumed unowned. To do so a boxed copy is created of the given pointer to be used as the handle.
public static ImageListOwnedHandle FromUnowned(nint ptr)
Parameters
ptrnintA pointer to a ImageList which is not owned by the runtime.
Returns
- ImageListOwnedHandle
A ImageListOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()