EnableFolderCreation Property
Collapse the table of content
Expand the table of content

SPList.EnableFolderCreation Property

Gets or sets a Boolean value that specifies whether folders can be created for the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public bool EnableFolderCreation { get; set; }

Property Value

Type: System.Boolean
true if folders can be created for the list; otherwise, false.
© 2015 Microsoft