Partager via


Web.ListTemplates - Propriété

Gets a value that specifies the collection of list definitions and list templates available for creating lists on the 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 ListTemplates As ListTemplateCollection
    Get
'Utilisation
Dim instance As Web
Dim value As ListTemplateCollection

value = instance.ListTemplates
public ListTemplateCollection ListTemplates { get; }

Valeur de propriété

Type : Microsoft.SharePoint.Client.ListTemplateCollection
Returns a ListTemplateCollection instance representing the collection of list definitions and list templates available for creating lists on the site.

Remarques

Use the GetCustomListTemplates method of the Site class to return only the list templates that are created by users.

Voir aussi

Référence

Web classe

Web - Membres

Microsoft.SharePoint.Client - Espace de noms