Share via


SP.ViewScope enumeration

Specifies the scope for returning list items and list folders in a list view.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var SP.ViewScope = {defaultValue : "Undefined",filesOnly : "Undefined",recursive : "Undefined",recursiveAll : "Undefined",registerEnum : "Undefined"}

Members

The ViewScope enumeration has the following members.

Member

Value

Description

defaultValue

0

Enumeration whose values specify that all list items and all list folders in the current list folder are returned in the list view.

filesOnly

3

Enumeration whose values specify that all list items in the current list folder are returned in the list view.

recursive

1

Enumeration whose values specify that all list items in the list are returned in the list view.

recursiveAll

2

Enumeration whose values specify that all list items and all list folders in the list are returned in the list view.

registerEnum

Undefined