Cursor.CopyHandle Cursor.CopyHandle Cursor.CopyHandle Cursor.CopyHandle Method

定義

複製這個 Cursor 的控制代碼。Copies the handle of this Cursor.

public:
 IntPtr CopyHandle();
public IntPtr CopyHandle ();
member this.CopyHandle : unit -> nativeint
Public Function CopyHandle () As IntPtr

傳回

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.

適用於

另請參閱