GC.GetGeneration Method
.NET Framework 3.5
Returns the current generation number of an object.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
GetGeneration(Object) | Returns the current generation number of the specified object. |
|
GetGeneration(WeakReference) | Returns the current generation number of the target of a specified weak reference. |