Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

How to: Get the Current Application Object

This example shows how to get a reference to the Application object instance for the current AppDomain.

The following example shows how to get a reference to the current Application object instance from the Current property.


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


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.