共用方式為


SP.List.serverTemplateCanCreateFolders Property

Applies to: SharePoint Foundation 2010

Gets a value that indicates whether folders can be created within the list.

var value = SP.List.get_serverTemplateCanCreateFolders(); 

Property Value

Type: Boolean

true to indicate that folders can be created within the list; otherwise, false.

Applies To

SP.List Class

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace