Microsoft Office Tutorials and References
In Depth Information
Contacts
OutlookPacktContact.Email1Address = "radhika@vsto.com";
// Set CompanyName property
OutlookPacktContact.CompanyName = "ACC Inc";
// Set Categories property
OutlookPacktContact.Categories = "Packt Group";
// Now save the above contact item
OutlookPacktContact.Save();
}
After executing the source code, you will get the following screenshot as the output
for your solution.
ContactItem is the object used to access the contact in a Contacts folder by using
Outlook programming. The ContactItem object has been exposed with a wide
variety of properties, events, and methods to program for the Contact folder in
Outlook 2007.
 
Search JabSto ::




Custom Search