Partager via


Thread.ThreadGroup Property

Definition

Returns the thread group to which this thread belongs.

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

Property Value

this thread's thread group.

Attributes

Remarks

Returns the thread group to which this thread belongs. This method returns null if this thread has died (been stopped).

Java documentation for java.lang.Thread.getThreadGroup().

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