共用方式為


SPList.AllowDeletion property

取得或設定Boolean值,指定是否要刪除的清單。

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

Syntax

'宣告
Public Property AllowDeletion As Boolean
    Get
    Set
'用途
Dim instance As SPList
Dim value As Boolean

value = instance.AllowDeletion

instance.AllowDeletion = value
public bool AllowDeletion { get; set; }

Property value

Type: System.Boolean
true可以刪除清單 ; 如果否則,請false。

請參閱

參照

SPList class

SPList members

Microsoft.SharePoint namespace