Releases the unmanaged resources used by the 
System.Windows.Forms.Control and its child controls and optionally releases the managed resources.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Protected Overloads Overridable Shadows Sub Dispose( _
   ByVal disposing As Boolean _
)   | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As ChartShape
Dim disposing As Boolean
 
instance.Dispose(disposing)  | 
 
            Parameters
- disposing
 
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
 
            
             
            
						
            
            
            
            
            
            
            
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
 
            
            
See Also