다음을 통해 공유


Work with contact items

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The ContactItem class contains the methods and properties you use to perform tasks with contacts.

Task Procedure
Retrieve all contacts whose last name contains a specified string. How to: Programmatically access Outlook contacts
Search for a contact by first and last name. How to: Programmatically search for a specific contact
Create a new contact and fill in contact information. How to: Programmatically add an entry to Outlook contacts
Search for contacts whose e-mail address contains a specific domain. How to: Programmatically search for an email address in contacts
Delete a contact that has a specified name. How to: Programmatically delete Outlook contacts

For more information about Outlook tasks and the Outlook object model, see Outlook object model overview.

See also