Language Reference Guide : System Classes : XMLDocument Class : WriteTextData Method
 
Share this page          
WriteTextData Method
WriteTextData is a low-level method that writes text data for the current XML element to the file previously opened by WriteStartDocument().
This method has the following syntax:
integer = XMLDocument.WriteTextData(string = StringObject)
This method has the following parameter:
string
(Required) Specifies the string object (text) to write to the file
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.