SPViewScope Enumeration

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


<ClientCallableTypeAttribute(Name := "ViewScope", ServerTypeId := "{ABA82FB7-B9B3-4b03-9D2A-0D82F3199037}")> _
<SubsetCallableTypeAttribute> _
Public Enumeration SPViewScope
Dim instance As SPViewScope
[ClientCallableTypeAttribute(Name = "ViewScope", ServerTypeId = "{ABA82FB7-B9B3-4b03-9D2A-0D82F3199037}")]
public enum SPViewScope


Member name Description
Default Show only the files and subfolders of a specific folder.
Recursive Show all files of all folders.
RecursiveAll Show all files and all subfolders of all folders.
FilesOnly Show only the files of a specific folder.


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

See Also


Microsoft.SharePoint Namespace