Export (0) Print
Expand All

SP.ListCollection Methods

SharePoint 2010

Last modified: May 26, 2011

Applies to: SharePoint Foundation 2010

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

Name

Description

add

Creates a new list or a document library.

ensureSiteAssetsLibrary

Gets a list that is the default asset location for images or other files, which the users upload to their wiki pages.

ensureSitePagesLibrary

Gets a list that is the default location for wiki pages.

getById

Returns the list with the specified list identifier.

getByTitle

Returns the list with the specified title from the collection.

itemAt

Gets the list at the specified index in the collection.

ListCollection

Initializes a new instance of the SP.ListCollection Class class.

Show:
© 2015 Microsoft