Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ViewScope enumeration
Collapse the table of content
Expand the table of content

ViewScope enumeration

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public enum ViewScope

Member nameDescription
DefaultValueEnumeration whose values specify that all list items and all list folders in the current list folder are returned in the list view. The value = 0.
RecursiveEnumeration whose values specify that all list items in the list are returned in the list view. The value = 1.
RecursiveAllEnumeration whose values specify that all list items and all list folders in the list are returned in the list view. The value = 2.
FilesOnlyEnumeration whose values specify that all list items in the current list folder are returned in the list view. The value = 3.
Show:
© 2015 Microsoft