Freigeben über


ContactItem Object

Outlook Developer Reference

Represents a contact in a Contacts folder.

Remarks

A contact can represent any person with whom you have any personal or professional contact.

Use the CreateItem method to create a ContactItem object that represents a new contact.

Use Items (

index

), where

index

is the index number of a contact or a value used to match the default property of a contact, to return a single ContactItem object from a Contacts folder.

Example

The following Visual Basic for Applications (VBA) example returns a new contact.

Visual Basic for Applications
  Set myItem = Application.CreateItem(olContactItem)

See Also