SPListItem.ContentTypeId property
取得與此項目相關聯的內容類型識別碼。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ContentTypeId As SPContentTypeId
Get
'用途
Dim instance As SPListItem
Dim value As SPContentTypeId
value = instance.ContentTypeId
public SPContentTypeId ContentTypeId { get; }
Property value
Type: Microsoft.SharePoint.SPContentTypeId
內容類型識別碼。