The IMessengerContacts interface provides access to the user’s contact list in Office Communicator 2007 R2, as well as the ability to remove contacts from the contact list. You use the Messenger class to add contacts to the contact list.
A call to the Messenger.MyContacts property returns an instance of the IMessengerContacts interface. For example, the following code gets an instance of IMessengerContacts by using the Messenger class.
_messenger = new Messenger(); IMessengerContacts _contacts = (IMessengerContacts) _messenger.MyContacts;
The IMessengerContacts interface provides a collection of IMessengerContactAdvanced instances, one for ...