Share via


IActiveScriptGarbageCollector::CollectGarbage

The Active Script host calls this method to start garbage collection.

Syntax

HRESULT CollectGarbage(        SCRIPTGCTYPE scriptgctype    );  

Parameters

scriptgctype
[in] The SCRIPTGCTYPE Enumeration that specifies whether to do normal or exhaustive garbage collection.

Return Value

Returns an HRESULT.

See also

IActiveScriptGarbageCollector Interface