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