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