次の方法で共有


SPListItem.ContentTypeId property

Gets the identifier of the content type that is associated with this item.

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

Syntax

'Declaration
Public ReadOnly Property ContentTypeId As SPContentTypeId
    Get
'Usage
Dim instance As SPListItem
Dim value As SPContentTypeId

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

Property value

Type: Microsoft.SharePoint.SPContentTypeId
The content type identifier.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace