FormFix v6.0 for .NET - Updated
Dispose(Boolean) Method



Accusoft.FormDirectorSdk Namespace > FormDefinition Class > Dispose Method : Dispose(Boolean) Method
Inidicates whether the caller was Dispose (true) or the finalizer (false).
This method cleans up any resources being used.
Syntax
'Declaration
 
Protected Overloads MustOverride Sub Dispose( _
   ByVal disposing As Boolean _
) 
'Usage
 
Dim instance As FormDefinition
Dim disposing As Boolean
 
instance.Dispose(disposing)
protected abstract void Dispose( 
   bool disposing
)
protected:
abstract void Dispose( 
   bool disposing
) 

Parameters

disposing
Inidicates whether the caller was Dispose (true) or the finalizer (false).
Remarks
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
See Also

Reference

FormDefinition Class
FormDefinition Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.