共用方式為


SP.ListItem Methods

Applies to: SharePoint Foundation 2010

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

Methods

Name

Description

deleteObject

Deletes the list item.

initNonPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

ListItem

Initializes a new instance of the SP.ListItem Class.

loadExpandoFields

Initializes the extended properties associated with the list item.

parseAndSetFieldValue

Sets the value of the field for the list item based on an implementation specific transformation of the value.

recycle

Moves the list item to the Recycle Bin and returns the identifier of the new Recycle Bin item.

refreshLoad

Reloads the extended properties associated with the list item.

update

Commits changed properties of the list item.

Applies To

SP.ListItem Class

See Also

Reference

SP.ListItem Properties

SP Namespace