GC.GetGeneration Method
.NET Framework 2.0
Returns the current generation number of an object.
| Name | Description |
|---|---|
| GC.GetGeneration (Object) | Returns the current generation number of the specified object. |
| GC.GetGeneration (WeakReference) | Returns the current generation number of the target of a specified weak reference. |