共用方式為


SPListTemplate.AllowsFolderCreation property

取得布林值,指出是否可以透過清單定義或範本建立的清單中建立資料夾。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property AllowsFolderCreation As Boolean
    Get
'用途
Dim instance As SPListTemplate
Dim value As Boolean

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

Property value

Type: System.Boolean
true如果可以建立資料夾。否則, false。

請參閱

參照

SPListTemplate class

SPListTemplate members

Microsoft.SharePoint namespace