Share via

SPField.Sealed property

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.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public Property Sealed As Boolean
Dim instance As SPField
Dim value As Boolean

value = instance.Sealed

instance.Sealed = value
public bool Sealed { get; set; }

Property value

Type: System.Boolean
true if the field cannot be the parent of a derived SharePoint field type; otherwise, false.


Exception Condition

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.


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.

See also


SPField class

SPField members

Microsoft.SharePoint namespace