Collect Method
MSDN Home
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System Namespace
GC Class
GC Methods
Collect Method
Collect Method
Collect Method (Int32)
Collect Method (Int32, GCColle ...
GC Methods
AddMemoryPressure Method
CancelFullGCNotification Metho ...
Collect Method
CollectionCount Method
GetGeneration Method
GetTotalMemory Method
KeepAlive Method
RegisterForFullGCNotification ...
RemoveMemoryPressure Method
ReRegisterForFinalize Method
SuppressFinalize Method
WaitForFullGCApproach Method
WaitForFullGCComplete Method
WaitForPendingFinalizers Metho ...
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
GC
.
.
::
.
Collect Method
Forces garbage collection.
Overload List
Name
Description
Collect
()
()
()
Forces an immediate garbage collection of all generations.
Collect(Int32)
Forces an immediate garbage collection from generation zero through a specified generation.
Collect(Int32, GCCollectionMode)
Forces a garbage collection from generation zero through a specified generation, at a time specified by a
GCCollectionMode
value.
Top
See Also
Reference
GC Class
GC Members
System Namespace
Tags :