SPContentType.Sealed 属性

获取或设置是否可以修改内容类型。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property Sealed As Boolean
    Get
    Set
用法
Dim instance As SPContentType
Dim value As Boolean

value = instance.Sealed

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

属性值

类型:System.Boolean
true密封的内容类型 ; 如果否则为false。

备注

您必须具有管理权限的网站集 unseal 和编辑内容类型定义为密封。

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.

另请参阅

引用

SPContentType 类

SPContentType 成员

Microsoft.SharePoint 命名空间

其他资源

Content Type Change Control

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy