Web.AvailableContentTypes - Propriété
Gets the collection of all content types that apply to the current scope, including those of the current Web site, as well as any parent Web sites.
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 AvailableContentTypes As ContentTypeCollection
Get
'Utilisation
Dim instance As Web
Dim value As ContentTypeCollection
value = instance.AvailableContentTypes
public ContentTypeCollection AvailableContentTypes { 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).