Redigera

Dela via


Cursor.CopyHandle Method

Definition

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