Edit

Share via


Contact.EmailAddresses Property

Definition

Gets an indexed list of e-mail addresses for the contact.

public:
 property Microsoft::Exchange::WebServices::Data::EmailAddressDictionary ^ EmailAddresses { Microsoft::Exchange::WebServices::Data::EmailAddressDictionary ^ get(); };
public Microsoft.Exchange.WebServices.Data.EmailAddressDictionary EmailAddresses { get; }
Public ReadOnly Property EmailAddresses As EmailAddressDictionary

Property Value

An indexed list of e-mail addresses for the contact.

Examples

The following example shows how to set the first e-mail address for a contact, where contact represents a Contact object.

contact.EmailAddresses[EmailAddressKey.EmailAddress1] = "test@contoso.com";

Applies to