SPField.Sealed property
SharePoint 2013
Gets a value that indicates whether Microsoft SharePoint Foundation field type (as specified in the Type property) can be the parent of a custom derived field type.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue if the field cannot be the parent of a derived SharePoint field type; otherwise, false.
| Exception | Condition |
|---|---|
| InvalidOperationException | An attempt is made to assign a value to a field type that is built into SharePoint. The true/false value of such fields must remain at its factory setting. |
| NotSupportedException | An attempt is made to assign false when the SharePoint field is an external data column. (For more information about external data columns, see Where Can You Show External Data?.) |
This property is not about whether the SPField class, or any class derived from it, is sealed.