addContactsByCid Method (String[])
Collapse the table of content
Expand the table of content

ApplicationContactCollection.AddContactsByCid Method (String[])

Adds contacts by CID to the application contact list.

Script:  http://www.wlmessenger.net/api/3.7/loader.js
Feature:  Messenger.Core
Namespace:  Microsoft.Live.Messenger.Applications
 

instance.addContactsByCid(cids);

Parameters

cids
Type: String []
The array of contact CIDs.

This method adds contacts by CID to the user or application's application contact list.

The AddContactsCompleted event is raised when the asynchronous AddContactsByCid(String[]) operation has completed. The event can be handled to perform custom processing logic after the contacts have been added.

ExceptionCondition
Exceptioncids is null or empty.

Windows Live Messenger Web Toolkit

Supported in: 3.7, 3.5

Internet Explorer 8.0, Internet Explorer 7.0, Internet Explorer 6.0, Firefox 3.5, Firefox 3.0, Firefox 2.0, Firefox 1.5, Chrome 3.0, Chrome 2.0, Chrome 1.0, Safari 4.0, Safari 3.0

Show:
© 2016 Microsoft