共用方式為


SP.ViewScope Enumeration

Applies to: SharePoint Foundation 2010

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

Values

Name

Description

defaultValue

Enumeration 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.

recursive

Enumeration whose values specify that all list items in the list are returned in the list view. The value = 1.

recursiveAll

Enumeration whose values specify that all list items and all list folders in the list are returned in the list view. The value = 2.

filesOnly

Enumeration whose values specify that all list items in the current list folder are returned in the list view. The value = 3.

See Also

Reference

SP Namespace