SPViewScope enumeration
Collapse the table of content
Expand the table of content

SPViewScope enumeration

Specifies the recursive scope of a view for a document library.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPViewScope

Member nameDescription
DefaultShow only the files and subfolders of a specific folder.
RecursiveShow all files of all folders.
RecursiveAllShow all files and all subfolders of all folders.
FilesOnlyShow only the files of a specific folder.

The SPViewScope enumeration is used with the Scope property of the SPView class.

© 2015 Microsoft