QuickOPC User's Guide and Reference
Dispose(Boolean) Method



OpcLabs.EasyOpcForms Assembly > OpcLabs.EasyOpc.UA.Forms Namespace > UAVersionTimeControl Class > Dispose Method : Dispose(Boolean) Method
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.
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.
Syntax
'Declaration
 
Protected Overloads Overrides Sub Dispose( _
   ByVal disposing As Boolean _
) 
'Usage
 
Dim instance As UAVersionTimeControl
Dim disposing As Boolean
 
instance.Dispose(disposing)
protected override void Dispose( 
   bool disposing
)
protected:
void Dispose( 
   bool disposing
) 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.
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