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
Syntax
'Declaration
<ClientCallableAttribute> _
Public Property EnableFolderCreation As Boolean
Get
Set
'Usage
Dim instance As SPList
Dim value As Boolean
value = instance.EnableFolderCreation
instance.EnableFolderCreation = value
[ClientCallableAttribute]
public bool EnableFolderCreation { get; set; }
Property Value
Type: System.Boolean
true if folders can be created for the list; otherwise, false.