NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

GC.GetGeneration (Object)

Returns the generation that a specified object is currently in.

[Visual Basic]
Overloads Public Shared Function GetGeneration( _
   ByVal obj As Object _
) As Integer
[C#]
public static int GetGeneration(
   object obj
);
[C++]
public: static int GetGeneration(
   Object* obj
);
[JScript]
public static function GetGeneration(
   obj : Object
) : int;

Parameters

obj
The object for which to get generation information.

Return Value

he generation that obj is currently in.

See Also

GC Class | GC Members | System Namespace | GC.GetGeneration Overload List