Export (0) Print
Expand All
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)
public Nullable<bool> AllowDeletion { get; set; }

Property value

Type: System.Nullable<Boolean>
true if the field can be deleted; otherwise, false or a null reference (Nothing in Visual Basic). 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.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.