RemoveAll Method
      
 

Description

Removes all contacts from the collection.


Return Type

None  


Syntax

object.RemoveAll



The RemoveAll Method syntax has these parts:

Part Description
object An 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.