GarbageCollector.Collect() Method

Top 

Description

Force a full garbage collection. Note that garbage collection will occur automatically without calling this method. This method only exists for fine grain control over the process.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

GarbageCollector.Collect(

)

 

 

Syntax

GarbageCollector.Collect();

 

 

See also

GarbageCollector Object