SP.DataConvert.writeValueToXmlElement(writer, objValue, serializationContext) Method

Applies to: SharePoint Foundation 2010

Writes the value of the Object parameter as an XML element to the SP.XmlWriter Class parameter.

SP.DataConvert.writeValueToXmlElement(writer, objValue, serializationContext);

Parameters

Type: SP.XmlWriter

Type: Object

  • serializationContext
    The context of a serialization operation used to store the object path, which is used for re-creating the object on the server.

Type: SP.SerializationContext

Applies To

SP.DataConvert Class

Remarks

This method writes the specified value, excluding the start and end elements, to a SP.XmlWriter Class object.

See Also

Reference

SP.DataConvert Methods

SP Namespace