Java.Lang.ThreadGroup.Enumerate Method
Iterates over all active threads in this group (and, optionally, its sub-groups) and stores the threads in the given array.

Syntax

[Android.Runtime.Register("enumerate", "([Ljava/lang/Thread;Z)I", "GetEnumerate_arrayLjava_lang_Thread_ZHandler")]
public virtual int Enumerate (Thread[] threads, bool recurse)

Parameters

threads
the array into which the Threads will be copied
recurse
indicates whether Threads in subgroups should be recursively copied as well

Returns

Documentation for this section has not yet been entered.

Remarks

Iterates over all active threads in this group (and, optionally, its sub-groups) and stores the threads in the given array. Returns when the array is full or no more threads remain, whichever happens first.

Note that this method will silently ignore any threads that don't fit in the supplied array.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1