SPListTemplate.AllowsFolderCreation Property
Gets a Boolean value indicating whether folders can be created within lists created through the list definition or template.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property AllowsFolderCreation As Boolean
Get
'Usage
Dim instance As SPListTemplate
Dim value As Boolean
value = instance.AllowsFolderCreation
[ClientCallableAttribute]
public bool AllowsFolderCreation { get; }
Property Value
Type: System.Boolean
true if folders can be created; otherwise, false.