GC::GetGeneration Method
.NET Framework (current version)
Returns the current generation number of an object.
Assembly: mscorlib (in mscorlib.dll)
| 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. |
Show:

