Share via


SP.XmlWriter.writeEndAttribute() Method

Applies to: SharePoint Foundation 2010

Appends an end of an attribute in XML format to the object’s string builder.

SP.XmlWriter.writeEndAttribute();

Exceptions

Sys.InvalidOperationException

The attribute is closed.

Remarks

This method closes the attribute that was opened in the SP.XmlWriter.writeStartAttribute(localName) Method.

Applies To

SP.XmlWriter Class

See Also

Reference

SP.XmlWriter Methods

SP Namespace