Cursor.CopyHandle Method ()


Copies the handle of this Cursor.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public IntPtr CopyHandle()

Return Value

Type: System.IntPtr

An IntPtr that represents the cursor's handle.

The handle created as a result of calling this method must be disposed of when you are done with it because it will not be disposed of by the garbage collector.

.NET Framework
Available since 1.1
Return to top