Language

Application.Current プロパティ

定義

現在の アプリケーションの Application オブジェクトを取得します。

static Application Current();
public static Application Current { get; }
var application = Application.current;
Public Shared ReadOnly Property Current As Application

プロパティ値

現在の アプリケーションの Application オブジェクト。

注釈

アプリケーション は、現在のアプリケーションの アプリケーション インスタンスへの共有アクセスを提供する静的な Current プロパティを実装するシングルトンです。 シングルトン パターン により、アプリケーションによって管理される状態 (共有リソースやプロパティを含む) が、1 つの共有場所から確実に使用できるようになります。

適用対象