Web.ContentTypes - Propriété
Gets the collection of content types for the Web site.
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 ContentTypes As ContentTypeCollection
Get
'Utilisation
Dim instance As Web
Dim value As ContentTypeCollection
value = instance.ContentTypes
public ContentTypeCollection ContentTypes { get; }
Valeur de propriété
Type : Microsoft.SharePoint.Client.ContentTypeCollection
A ContentTypeCollection object that represents the content types.
Remarques
It must not be une référence Null (Rien dans Visual Basic).