Add Method
      
 

Description

Adds new contact to the collection.


Return Type

A XMPPContact object.  


Syntax

object.Add (Contact)



The Add Method syntax has these parts:

Part Description
object An expression evaluating to an object of type XMPPContacts.
Contact Required. A String value. Specifies JID.

Remarks

This method will add a new contact to your Contacts Collection. You should specify Contact, which should be a JID. Adding Contact doesn't mean he will appear online on your contact list - you still have to ask for authorization through Subscribe method. However, once contact is added, you can, for example, send messages to this contact.