SP.DataConvert.populateDictionaryFromObject(dict, parentNode) Method

Applies to: SharePoint Foundation 2010

Sets the values of a dictionary using the specified object.

SP.DataConvert.populateDictionaryFromObject(dict, parentNode);

Parameters

dict

Type: Dictionary

The dictionary for which the values are set.

parentNode

Type: Object

The object containing the values.

Remarks

This method converts the object specified by the parentNode parameter to a key/value collection, and sets the entries of the dictionary specified by the dict parameter that correspond to those keys to those values.

Applies To

SP.DataConvert Class

See Also

Reference

SP.DataConvert Methods

SP Namespace