Contact.EmailAddresses Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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";