Gets or sets a
Boolean value specifying whether the list can be deleted.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public Property AllowDeletion As Boolean
Dim instance As SPList
Dim value As Boolean
value = instance.AllowDeletion
instance.AllowDeletion = value
public bool AllowDeletion { get; set; }
Property Value
true if the list can be deleted; otherwise, false.