ViewScope enumeration

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

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

No code example is currently available or this language may not be supported.

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: