In This Topic
Releases the unmanaged resources used by the
System.Windows.Forms.Control and its child controls and optionally releases the managed resources.
Syntax
'Declaration
Protected Overloads Overridable Shadows Sub Dispose( _
ByVal As Boolean _
)
'Usage
Dim instance As ChartShape
Dim disposing As Boolean
instance.Dispose(disposing)
protected virtual new void Dispose(
bool
)
Parameters
- disposing
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
See Also