Edit

Share via


Contact.PhoneNumbers Property

Definition

Gets an indexed list of telephone numbers for the contact.

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

Property Value

An indexed list of telephone numbers for the contact.

Examples

The following example shows how to set the home telephone number for a contact, where contact represents a Contact object.

contact.PhoneNumbers[PhoneNumberKey.HomePhone] = "111-111-1111";

Applies to