WriteElementString Method
Sets a value of the next element in the current segment to a simple value.
Syntax
Remarks
Use the WriteElementString method to specify a value for the next data element with simple content on the current segment.
To write a composite data element, even if it has a single sub-element, use the StartElement and WriteComponentString methods instead.