SPListItem.ContentTypeId 属性

获取与该项关联的内容类型的标识符。

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

语法

声明
Public ReadOnly Property ContentTypeId As SPContentTypeId
    Get
用法
Dim instance As SPListItem
Dim value As SPContentTypeId

value = instance.ContentTypeId
public SPContentTypeId ContentTypeId { get; }

属性值

类型:Microsoft.SharePoint.SPContentTypeId
内容类型标识符。

另请参阅

引用

SPListItem 类

SPListItem 成员

Microsoft.SharePoint 命名空间