SPContentType.Sealed property

Gets or sets whether the content type can be modified.

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

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