SP.DataConvert.writePropertiesToXml(writer, obj, propNames, serializationContext) Method

Applies to: SharePoint Foundation 2010

Serializes the specified object properties through an XML formatter.

SP.DataConvert.writePropertiesToXml(writer, obj, propNames, serializationContext);

Parameters

writer

Type: SP.XmlWriter

The XML formatter used to serialize the specified properties data.

obj

Type: Object

The object containing the specified properties.

propNames

Type: String[]

The names of the properties from which the values are retrieved.

serializationContext

Type: SP.SerializationContext

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

Remarks

This method serializes the specified object properties through an XML formatter.

Applies To

SP.DataConvert Class

See Also

Reference

SP.DataConvert Methods

SP Namespace