Back to product page

RemoveAll method


Removes all contacts from the collection.

Syntax

  • Basic
object.RemoveAll()
The RemoveAll(object) syntax has these parts:
objectAn expression evaluating to an object of type XMPPContacts

Remarks

RemoveAll method will delete all the contacts objects from the contacts collection. After calling this method, contacts collection will be empty. If you wish to add new contacts, you should use Add method. This method does not call Unsubscribe for each contact - so when you reconnect server may send contact list again with same contacts.

Platforms

Windows