View Single Post
  #2  
Old November 29th 09, 05:50 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default VSTO C#: How do I declare an application scope variable?

As a member of the class that implements your add-in?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Mark B" wrote in message
...
C#, VSTO, OL2007

How do I declare an application-scope variable that will last as long as
the user has Outlook open?

String myApplicationScopeString="test";

I want other class methods to read and write to it over its lifetime.



Ads