Chameleon Plug-in API
Clean Method
NamespacesBKTech.Chameleon.PluginsIChameleonPluginClean()()()
Cleans up all used memory for this plug-in and resets everything back to starting levels, ready for initialization.
Declaration Syntax
C#Visual BasicVisual C++
bool Clean()
Function Clean As Boolean
bool Clean()
Return Value
True if the plug-in is cleaned successfully, false otherwise.
Remarks
This method is intended to be called after the completion of execution of a plug-in to fully clean any data that was necessary during execution. All data structure and file lists should be cleaned. Optionally, custom properties of a plug-in may also be cleaned, though this method will allow plug-in developers the opportunity to not clean custom properties and only destroy what needs to be destroyed. It should be assumed that if the clean fails, the plug-in will be destroyed and recreated, negating all saved states. It is extremely important for plug-in developers to release all memory they no longer require following plug-in execution by way of this method.

Assembly: Chameleon_Plugin (Module: Chameleon_Plugin) Version: 2.0.2.16570 (2.0.2.0)