Udostępnij za pośrednictwem


ContentTypeId Class

Represents the content type identifier (ID) of a content type.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientValueObject
    Microsoft.SharePoint.Client.ContentTypeId

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<ScriptTypeAttribute("SP.ContentTypeId", ValueObject := True, ServerTypeId := "{da0f1e90-296f-480e-bc27-cefe51eff241}")> _
Public NotInheritable Class ContentTypeId _
    Inherits ClientValueObject
'Usage
Dim instance As ContentTypeId
[ScriptTypeAttribute("SP.ContentTypeId", ValueObject = true, ServerTypeId = "{da0f1e90-296f-480e-bc27-cefe51eff241}")]
public sealed class ContentTypeId : ClientValueObject

Remarks

Content type IDs uniquely identify the content type and are designed to be recursive. The content type ID encapsulates the lineage of a content type or the line of parent content types from which the content type inherits. Each content type ID contains the ID of the parent content type, which in turn contains the ID of that content type's parent, and so on, ultimately back to and including the System content type ID.

For more information, see the Id property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ContentTypeId Members

Microsoft.SharePoint.Client Namespace