MainThread.IsMainThread 屬性

定義

如果是目前的主要介面執行緒,也要知道。

public static bool IsMainThread { get; }

屬性值

System.Boolean

如果是主討論串。

適用於