How to: Programmatically Access Outlook Contacts

 

This example finds all contacts whose last names contain a specified search string.

Applies to: The information in this topic applies to VSTO add-in projects for Outlook. For more information, see Features Available by Office Application and Project Type.

This example requires:

  • Contacts whose last names contain the string "Na" (for example, Tzipi Butnaru) in the Contacts folder.

Working with Contact Items
How to: Programmatically Add an Entry to Outlook Contacts
How to: Programmatically Search for a Specific Contact
How to: Programmatically Search for an E-Mail Address in Contacts
How to: Programmatically Delete Outlook Contacts

Show: