共用方式為


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

Syntax

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

Members

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.

Remarks

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

See Also

Reference

Microsoft.SharePoint Namespace