Firstly , I am a freshmen to outlook add-in development,Recently I read some learning material from MSDN or other tutorial, The First thing makes me confused is if I want to find something like a certain Appointment or Meeting Request from inbox, I should firstly use Application.GetNameSpace(“MAPI”) to get a NameSpace instead of getting some kind of object like Folder or Appointment Collections and so on.
I don’t understand the Data Store Access pattern of Outlook 2007 in Add-in development. I hope someone can help me better understand Data store access of outlook 2007.
A MAPI Session is required to interact with an Outlook Data Store.
Application.Sessionis interchangeable withApplication.GetNamespace("MAPI"). You can think of a session as a connection to the Outlook Data Store.To retrieve appointments, you can use
Namespace.GetDefaultFolder.