Releases the unmanaged resources used by the
System.Windows.Forms.Control and its child controls and optionally releases the managed resources.Releases the unmanaged resources used by the
System.Windows.Forms.Control and its child controls and optionally releases the managed resources. Clean up any resources being used. Clean up any resources being used. Clean up any resources being used.
Syntax
'Declaration
Protected Overloads Overrides Sub Dispose( _
ByVal As Boolean _
)
'Usage
Dim instance As UADataSetDataControl
Dim disposing As Boolean
instance.Dispose(disposing)
protected override void Dispose(
bool
)
protected:
void Dispose(
bool
) override
Parameters
- disposing
- true to release both managed and unmanaged resources; false to release only unmanaged resources.true to release both managed and unmanaged resources; false to release only unmanaged resources.true if managed resources should be disposed; otherwise, false.true if managed resources should be disposed; otherwise, false.true if managed resources should be disposed; otherwise, false.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also