GC::GetGeneration Method

 

Returns the current generation number of an object.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetGeneration(Object^)

Returns the current generation number of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetGeneration(WeakReference^)

Returns the current generation number of the target of a specified weak reference.

Return to top
Show: