ImAddresses property

Contact.ImAddresses property

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

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public ImAddressDictionary ImAddresses { get; }

Property value

Type: Microsoft.Exchange.WebServices.Data.ImAddressDictionary
An indexed list of instant messaging (IM) addresses for the contact.

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";
Show:
© 2016 Microsoft