Condividi tramite


SP.ListCollection.getByTitle(strListName) Method

Applies to: SharePoint Foundation 2010

Returns the list with the specified title from the collection.

var value = SP.ListCollection.getByTitle(strListName);

Parameters

  • strListName
    A string containing the list title.

    It must not be null. It must not be empty. Its length must be equal to or less than 255.

Type: String

Return Value

Type: SP.List

Applies To

SP.ListCollection Class

Exceptions

See Also

Reference

SP.ListCollection Methods

SP.ListCollection Properties

SP Namespace