Contact.ImAddresses Property

Definition

Gets an indexed list of instant messaging (IM) addresses for the contact.

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

Property Value

An indexed list of instant messaging (IM) addresses for the contact.

Examples

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

contact.ImAddresses[ImAddressKey.ImAddress1] = "test@contoso.com";

Applies to