_MailItem Interface (Microsoft.Office.Interop.Outlook)Members
This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, an
Last modified by Microsoft on 2/15/2008 4:19:29 PM
A Sample that demonstrates how to create an Outlook Form Region by using VSTO 2008
http://www.codeproject.com/KB/office/MyContacts.aspx
Last modified by Thomas Lee on 10/24/2009 4:11:18 PM
Windows PowerShell Sampleusing the PIA (significantly faster at least in my tests on Vista)
#using PIA - you probably want to check this first:# http://msdn2.microsoft.com/en-us/library/bb646840.aspx
$outlook = New-Object Microsoft.Office.Interop:Outlook# 6 equals to Inbox according to# http://msdn2.microsoft.com/en-us/library/bb208072.aspx$olInbox = $outlook.Session.GetDefaultFolder(6)
Last modified by Thomas Lee on 4/28/2008 3:50:30 PM