SPField.AllowDeletion Property
Gets or sets a Boolean value that specifies whether the field can be deleted.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public Property AllowDeletion As Nullable(Of Boolean)
Get
Set
Dim instance As SPField
Dim value As Nullable(Of Boolean)
value = instance.AllowDeletion
instance.AllowDeletion = value
public Nullable<bool> AllowDeletion { get; set; }
Property Value
Type: System.Nullable<Boolean>
true to specify that the field can be deleted; otherwise, false.