Cursor.CopyHandle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the handle of this Cursor.
public:
IntPtr CopyHandle();
public IntPtr CopyHandle ();
member this.CopyHandle : unit -> nativeint
Public Function CopyHandle () As IntPtr
Returns
IntPtr
nativeint
An IntPtr that represents the cursor's handle.
Remarks
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.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.