Partager via


ThreadGroup.ParentOf(ThreadGroup) Method

Definition

Tests if this thread group is either the thread group argument or one of its ancestor thread groups.

[Android.Runtime.Register("parentOf", "(Ljava/lang/ThreadGroup;)Z", "")]
public bool ParentOf (Java.Lang.ThreadGroup? g);
[<Android.Runtime.Register("parentOf", "(Ljava/lang/ThreadGroup;)Z", "")>]
member this.ParentOf : Java.Lang.ThreadGroup -> bool

Parameters

g
ThreadGroup

a thread group.

Returns

true if this thread group is the thread group argument or one of its ancestor thread groups; false otherwise.

Attributes

Remarks

Tests if this thread group is either the thread group argument or one of its ancestor thread groups.

Added in 1.0.

Java documentation for java.lang.ThreadGroup.parentOf(java.lang.ThreadGroup).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to