Expand Minimize
This topic has not yet been rated - Rate this topic

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public Nullable<bool> AllowDeletion { get; set; }

Property Value

Type: System.Nullable<Boolean>
true if the field can be deleted; otherwise, false or null. Always returns false when the field has an external data source.
ExceptionCondition
NotSupportedException

This property cannot be set if the field has an external data source.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.