方法 : 現在のアプリケーション オブジェクトを取得する
更新 : 2007 年 11 月
この例では、現在の AppDomain の Application オブジェクト インスタンスへの参照を取得する方法を示します。
使用例
現在の Application オブジェクト インスタンスへの参照を、Current プロパティから取得する方法を次の例に示します。
// Get a reference to the current Application object
Application currentApplication = Application.Current;