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)

Syntax

'Declaration
Public ReadOnly Property AllowsFolderCreation As Boolean
    Get
'Usage
Dim instance As SPListTemplate
Dim value As Boolean

value = instance.AllowsFolderCreation
public bool AllowsFolderCreation { get; }

Property value

Type: System.Boolean
true if folders can be created; otherwise, false.

See also

Reference

SPListTemplate class

SPListTemplate members

Microsoft.SharePoint namespace