UpDownBase.Dispose(Boolean) 方法

定义

释放由此控件及其子控件占用的非托管资源,另外还可释放托管资源。Releases the unmanaged resources used by the control and its child controls, and optionally releases the managed resources.

protected:
 override void Dispose(bool disposing);
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)

参数

disposing
Boolean

如果为 true,则托管及非托管资源都释放;如果为 false,则仅释放非托管资源。true to release both managed and unmanaged resources; false to release only unmanaged resources.

适用于