Share via


SP.XmlWriter.writeString(value) Method

Applies to: SharePoint Foundation 2010

Appends the specified value for an element tag or attribute to the object’s string builder.

SP.XmlWriter.writeString(value);

Parameters

value

Type: String

The value of the element tag or attribute.

Remarks

This method replaces the "&", "<", and ">" characters with "&amp;", "&lt;", and "&gt;" respectively when appending the value for an element tag or attribute.

Applies To

SP.XmlWriter Class

See Also

Reference

SP.XmlWriter Methods

SP Namespace