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 JadeXMLDocument class adds a comment object with the text specified in the text parameter and returns a reference to the added JadeXMLComment object instance.