共用方式為


SP.XmlWriter.writeRaw(xml) Method

Applies to: SharePoint Foundation 2010

Appends the specified text to the object’s string builder.

SP.XmlWriter.writeRaw(xml);

Parameters

xml

Type: String

The text to append.

Exceptions

Sys.InvalidOperationException

The previous attribute is not closed.

Remarks

This method closes any open start element tag or attribute before appending the text to the string builder.

Applies To

SP.XmlWriter Class

See Also

Reference

SP.XmlWriter Methods

SP Namespace