Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
Microsoft Developer Network
Home
Library
Learn
Downloads
Support
Community
Forums
Collect Method
.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
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Site Feedback
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement