SP.CamlQuery.createAllFoldersQuery() 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 folders in a list.
var value = SP.CamlQuery.createAllFoldersQuery();
Return Value
Type: SP.CamlQuery
A query that can be used to get all of the folders in a list.
Remarks
This method creates a Collaborative Application Markup Language (CAML) string that can be used to recursively get all of the folders in a list, including the subfolders.