getById(uniqueId) Method

SP.ListCollection.getById(uniqueId) Method

SharePoint 2010

Last modified: February 18, 2010

Applies to: SharePoint Foundation 2010

Returns the list with the specified list identifier.

var value = SP.ListCollection.getById(uniqueId);

uniqueId

Specifies the list identifier.

Type: SP.Guid

[Microsoft.SharePoint.SPException]

List does not exist. Error code: -2130246262.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: - 2147024891.

Show:
© 2016 Microsoft