Share via


Button.Dispose Method

Include Protected Members
Include Inherited Members

Releases the unmanaged resources used by the Button and optionally releases the managed resources.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the Button and optionally releases the managed resources. (Overrides ButtonBase.Dispose(Boolean).)

Top

See Also

Reference

Button Class

Microsoft.Office.Tools.Excel.Controls Namespace