Export (0) Print
Expand All

SP.DataConvert Methods

SharePoint 2010

Last modified: March 28, 2011

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.DataConvert class.

Name

Description

createLocalDateTime

Creates a Date object that represents a local time.

createUnspecifiedDateTime

Creates a Date object that is neither local time nor Coordinated Universal Time (UTC).

createUtcDateTime

Creates a Date object that represents a Coordinated Universal Time (UTC).

DataConvert

Initializes a new instance of the SP.DataConvert Class.

fixupType

Sets the type of an object to its internal object type.

fixupTypes

Sets the type of the objects to their internal object type.

getDateTimeKind

Gets the basis of the time.

invokeGetProperty

Gets the value for the specified property of the specified object.

invokeSetProperty

Sets the value for the specified property of the specified object.

populateArray

Adds the values from one array to another array.

populateDictionaryFromObject

Sets the values of a dictionary using the specified object.

specifyDateTimeKind

Sets the time basis.

writeDictionaryToXml

Writes the specified dictionary data to an SP.XmlWriter Class object.

writePropertiesToXml

Serializes the specified object properties through an XML formatter.

writeValueToXmlElement

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

Show:
© 2015 Microsoft