SPList Properties


SPList.AllowDeletion Property (Microsoft.SharePoint)
Gets or sets a Boolean value specifying whether the list can be deleted.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Property AllowDeletion As Boolean
Visual Basic (Usage)
Dim instance As SPList
Dim value As Boolean

value = instance.AllowDeletion

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

Property Value

true if the list can be deleted; otherwise, false.
See Also

Tags :


Page view tracker