Share via


SPViewScope Enumeration

The SPViewScope enumeration specifies the recursive scope of a view for a document library.

Members

The following table shows the members of the SPViewScope enumeration and a brief description of each.

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

Remarks

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

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security