Export (0) Print
Expand All

SP.List Methods

SharePoint 2010

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

Name

Description

addItem

Creates a new list item in the list.

deleteObject

Deletes the list.

getChanges

Returns the collection of changes from the change log that have occurred within the list, based on the specified query.

getItemById

Returns the list item with the specified list item identifier.

getItems

Returns a collection of items from the list based on the specified query.

getRelatedFields

Returns a collection of lookup fields that use this list as a data source and that have FieldLookup.IsRelationship set to true.

getRelatedFieldsExtendedData

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

getView

Returns the list view with the specified view identifier.

initPropertiesFromJson

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

List

Initializes a new instance of the SP.List Class.

recycle

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

update

Updates the database with changes that are made to the list.

Community Additions

ADD
Show:
© 2014 Microsoft