Product Information > JADE Encyclopaedia of Classes – Volume 2 > Chapter 1 - System Classes > addCommentObject

addCommentObject

addCommentObject(comment: JadeXMLComment;
                 text:    String): JadeXMLComment updating;

The addCommentObject method of the JadeXMLElement class adds a comment object with the value specified in the text parameter and returns a reference to the added JadeXMLComment object instance.