Control.DestroyHandle 方法
定义
毁坏与该控件关联的句柄。Destroys the handle associated with the control.
protected:
virtual void DestroyHandle();
protected virtual void DestroyHandle ();
abstract member DestroyHandle : unit -> unit
override this.DestroyHandle : unit -> unit
Protected Overridable Sub DestroyHandle ()
继承者说明
当 DestroyHandle() 在派生类中重写时,请确保调用基类的 DestroyHandle() 方法以确保句柄已销毁。When overriding DestroyHandle() in a derived class, be sure to call the base class's DestroyHandle() method to ensure that the handle is destroyed.