ScriptEngine.CollectGarbage Method |
Performs garbage collection.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntaxpublic abstract void CollectGarbage(
bool exhaustive
)
Public MustOverride Sub CollectGarbage (
exhaustive As Boolean
)
public:
virtual void CollectGarbage(
bool exhaustive
) abstract
abstract CollectGarbage :
exhaustive : bool -> unit
Parameters
- exhaustive Boolean
- True to perform exhaustive garbage collection, false to favor speed over completeness.
Implements
IScriptEngine.CollectGarbage(Boolean)
See Also