Sdílet prostřednictvím


ThreadGroup.Parent Property

Definition

Returns the parent of this thread group.

public Java.Lang.ThreadGroup? Parent { [Android.Runtime.Register("getParent", "()Ljava/lang/ThreadGroup;", "")] get; }
[<get: Android.Runtime.Register("getParent", "()Ljava/lang/ThreadGroup;", "")>]
member this.Parent : Java.Lang.ThreadGroup

Property Value

the parent of this thread group. The top-level thread group is the only thread group whose parent is null.

Attributes

Remarks

Returns the parent of this thread group.

First, if the parent is not null, the checkAccess method of the parent thread group is called with no arguments; this may result in a security exception.

Added in 1.0.

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

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