共用方式為


SP.ListItem.fieldValues Property

Applies to: SharePoint Foundation 2010

Gets a collection of key/value pairs containing the names and values for the fields of the list item.

var value = SP.ListItem.get_fieldValues(); 

Property Value

Type: Object

The names and values for the fields of the list item. The property names are the field names and the property values are the field values.

Applies To

SP.ListItem Class

See Also

Reference

SP.ListItem Methods

SP.ListItem Properties

SP Namespace