Partager via


ContentType.Id - Propriété

Gets a value that specifies an identifier for the content type. The ContentTypeId type is the identifier for the specified content type. The identifier is a string composed of hexadecimal characters. The identifier must be unique relative to the current site collection and site, and must follow the pattern of prefixing a ContentTypeId with its parent ContentTypeId.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Id As ContentTypeId
    Get
'Utilisation
Dim instance As ContentType
Dim value As ContentTypeId

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

Valeur de propriété

Type : Microsoft.SharePoint.Client.ContentTypeId
A ContentTypeId object that represents the type ID.

Voir aussi

Référence

ContentType classe

ContentType - Membres

Microsoft.SharePoint.Client - Espace de noms