Manipulates the contact list, which maintains a collection of users in Office Communicator.

The interface ID is E7479A0D-BB19-44a5-968F-6F41D93EE0BC (IID_IMessengerContacts).

Syntax

interface IMessengerContacts : IDispatch

Methods

The following table lists the methods exposed by the IMessengerContacts interface.

Name Description

IMessengerContacts::Item

Retrieves a specific service by index.

Not scriptable.

IMessengerContacts::Remove

Removes an IMessengerContact object from a collection.

Not scriptable.

Properties

This interface contains the following properties.

Name Description

IMessengerContacts::_NewEnum

Enumerates the IMessengerContact objects in a collection.

Not scriptable.

IMessengerContacts::Count

Retrieves the number of IMessengerContact objects in the collection.

Not scriptable.

Subclasses

This interface contains no subclasses.

Remarks

Communicator contains other lists of users and contacts internally, but only the contact list is accessible through Office Communicator Automation API.

Any IMessengerContact collection object can have zero members in its collection. List collection objects are not explicitly created or destroyed. They already exist and were created by the Messenger object. To create a pointer to the existing object that represents the contact list, use the IMessenger::GetContact method.

Inheritance Hierarchy

IDispatch

   IMessengerContacts

Requirements

Client

Requires Microsoft DirectX 9.0, C Runtime libraries (msvcm80.dll) on Microsoft Windows© Vista, Microsoft Windows XP Service Pack 1 (SP1) or later, or Microsoft Windows 2000 with Service Pack 4 (SP4). Any Communicator-imposed restrictions apply. .

Server

Requires Microsoft Office Communications Server 2007, AV MCU (for Media Support), Media Relay (for NAT/Firewall traversal) on Microsoft Office Communications Server 2007.

Product

Microsoft Office Communicator 2007 Automation API

IDL file

Msgrua.idl

See Also

Reference

IMessengerContacts