Clean up any resources being used.
Syntax
'Declaration
Protected Overloads Overrides NotOverridable Sub Dispose( _
ByVal As Boolean _
)
'Usage
Dim instance As ComputerBrowserDialog
Dim disposing As Boolean
instance.Dispose(disposing)
protected override void Dispose(
bool
)
protected:
void Dispose(
bool
) override
Parameters
- disposing
- 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