共用方式為


SP.View.includeRootFolder Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether the current folder is displayed in the list view.

var value = SP.View.get_includeRootFolder(); 
SP.View.set_includeRootFolder(value);

Property Value

Type: Boolean

Applies To

SP.View Class

See Also

Reference

SP.View Methods

SP.View Properties

SP Namespace