MainThread.IsMainThread プロパティ

定義

現在のメイン UI スレッドであるかどうかを取得します。

public static bool IsMainThread { get; }

プロパティ値

System.Boolean

メイン スレッドの場合。

適用対象