Share via


IMessengerGroup::Contacts property

[Contacts is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

Retrieves a list of contacts from the group's collection of users.

This property is read-only.

Syntax

HRESULT get_Contacts(
  [out, retval] IDispatch **ppMContacts
);

Property value

Address of a pointer to an IDispatch of a MessengerContact object representing the users that are in the group's collection.

Error codes

Returns one of the following values.

Name Meaning
S_OK
Success.
RPC_X_NULL_REF_POINTER
ppMContacts is a NULL pointer.
E_OUTOFMEMORY
Error during list creation.

Remarks

The following table lists the error codes returned by this property.

Error Code Meaning
0x8007000E Error during list creation.

This property is available for scripting languages.

Note

This method is available for scripting languages.

Requirements

End of client support
Windows XP
End of server support
Windows Server 2003
Header
Msgrua.h
IDL
Msgrua.idl
DLL
Msgsc.dll

See also

IMessengerGroup