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
- writer
The SP.XmlWriter Class used to write the specified value.
Type: SP.XmlWriter
- objValue
The Object that represents the value to be written to a SP.XmlWriter Class.
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
Remarks
This method writes the specified value, excluding the start and end elements, to a SP.XmlWriter Class object.