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)

public bool EnableFolderCreation { get; set; }

Property value

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