다음을 통해 공유


방법: 현재 응용 프로그램 개체 가져오기

업데이트: 2007년 11월

이 예제에서는 현재 AppDomainApplication 개체 인스턴스에 대한 참조를 가져오는 방법을 보여 줍니다.

예제

다음 예제에서는 현재 Application 개체 인스턴스에 대한 참조를 Current 속성에서 가져오는 방법을 보여 줍니다.

// Get a reference to the current Application object
Application currentApplication = Application.Current;