Returns the generation in which a weak reference currently resides.
[Visual Basic] Overloads Public Shared Function GetGeneration( _ ByVal wo As WeakReference _ ) As Integer [C#] public static int GetGeneration( WeakReference wo ); [C++] public: static int GetGeneration( WeakReference* wo ); [JScript] public static function GetGeneration( wo : WeakReference ) : int;
The generation in which wo currently resides.
Exception Type | Condition |
---|---|
ArgumentException | is thrown if wo has already been collected. |
To be supplied.
GC Class | GC Members | System Namespace | GC.GetGeneration Overload List