GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureDocumentUtilities Class / ForceGarbageCollection Method
Example





In This Topic
ForceGarbageCollection Method (GdPictureDocumentUtilities)
In This Topic
Forces an immediate garbage collection. Please use this method if you try to recover all memory that is inaccessible.
Syntax
'Declaration
 
Public Shared Sub ForceGarbageCollection() 
public static void ForceGarbageCollection()
public procedure ForceGarbageCollection(); static; 
public static function ForceGarbageCollection();
public: static void ForceGarbageCollection(); 
public:
static void ForceGarbageCollection(); 
Example
How to force an immediate garbage collection.
GdPictureDocumentUtilities.ForceGarbageCollection()
GdPictureDocumentUtilities.ForceGarbageCollection();
See Also