Releases the unmanaged resources used by the ElementContainerControl and and its child controls or elements and optionally releases the managed resources.
Syntax
'Declaration
Protected Overloads Overrides Sub Dispose( _
ByVal As Boolean _
)
'Usage
Dim instance As ElementContainerControl
Dim disposing As Boolean
instance.Dispose(disposing)
protected override void Dispose(
bool
)
Parameters
- disposing
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
See Also