SP.CamlQuery.createAllItemsQuery() Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Creates a query that can be used to recursively get all of the items in a list.
var value = SP.CamlQuery.createAllItemsQuery();
Return Value
Type: SP.CamlQuery
A query that can be used to recursively get all of the items in a list.
Remarks
This method creates a Collaborative Application Markup Language (CAML) string that can be used to recursively get all of the items in a list, including the items in the subfolders.