SP.XmlWriter.create(sb) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Creates a new instance of the XmlWriter class with the specified string builder.

var value = SP.XmlWriter.create(sb);

Parameters

sb

Type: Sys.StringBuilder

The string builder to which text is appended by the other SP.XmlWriter methods.

Return Value

Type: SP.XmlWriter

The new instance of the class.

Remarks

Use this method to create a new instance of the XmlWriter class. The other XmlWriter methods append tags and attributes in XML format to the string builder specified in the sb parameter.

Applies To

SP.XmlWriter Class

See Also

Reference

SP.XmlWriter Methods

SP Namespace