Spread Windows Forms 9.0 Product Documentation
Dispose(Boolean) Method


true to release both managed and unmanaged resources; false to release only unmanaged resources.
Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.
Syntax
'Declaration
 
Protected Overloads Overrides Sub Dispose( _
   ByVal disposing As Boolean _
) 
'Usage
 
Dim instance As SideButtonBase
Dim disposing As Boolean
 
instance.Dispose(disposing)
protected override void Dispose( 
   bool disposing
)

Parameters

disposing
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Remarks
Call Dispose(Boolean) when you are finished using the System.Windows.Forms.Control. The Dispose method leaves the System.Windows.Forms.Control in an unusable state. After calling Dispose(Boolean), you must release all references to the System.Windows.Forms.Control so the garbage collector can reclaim the memory that the System.Windows.Forms.Control was occupying.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SideButtonBase Class
SideButtonBase Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.