Spread Windows Forms 7.0 Product Documentation
Dispose(Boolean) Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > FieldsEditorControl Class > Dispose Method : Dispose(Boolean) Method


disposing
True to release both managed and unmanaged resources; false to release only unmanaged resources.

Glossary Item Box

Releases the unmanaged resources used by the ElementContainerControl and its child controls or elements and optionally releases the managed resources.

Syntax

Visual Basic (Declaration) 
Protected Overloads Overrides Sub Dispose( _
   ByVal disposing As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As FieldsEditorControl
Dim disposing As Boolean
 
instance.Dispose(disposing)
C# 
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.