次の方法で共有


MainThread.IsMainThread プロパティ

定義

現在のメイン UI スレッドである場合は を取得します。

public static bool IsMainThread { get; }

プロパティ値

System.Boolean

スレッドメイン場合。

適用対象