Share via


SPContentType.Sealed Property

Gets or sets whether the content type can be modified.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property Sealed As Boolean
    Get
    Set
'Usage
Dim instance As SPContentType
Dim value As Boolean

value = instance.Sealed

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

Property Value

Type: System.Boolean
true if the content type is sealed; otherwise false.

Remarks

You must have administrative rights to the site collection to unseal and edit a content type that is defined as sealed.

For more information, see Content Type Change Control.

Defining a content type as sealed has ramifications when you make changes to its parent content type and then attempt to propagate those changes down through the hierarchy of content types. For more information, see Updating Child Content Types.

See Also

Reference

SPContentType Class

SPContentType Members

Microsoft.SharePoint Namespace

Other Resources

Content Type Change Control

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy