Add Method
      
 

Description

Adds new service to the collection.


Return Type

A XMPPService object.  


Syntax

object.Add (Service)



The Add Method syntax has these parts:

Part Description
object An expression evaluating to an object of type XMPPServices.
Service Required. A String value. A string type. Specifies service JID.

Remarks

This method will add a new service to Services collection - which holds list of all services currently supported by the server. This collection internally is filled as a result of Discover method call. However, you can add services manually if you have reasons to do so.

This method is used internally by wodXMPP, but provided for advanced users for more flexibility.