ThreadGroup.ParentOf(ThreadGroup) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.