Freigeben über


Web.ListTemplates-Eigenschaft

Gets a value that specifies the collection of list definitions and list templates available for creating lists on the site.

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

Syntax

'Declaration
Public ReadOnly Property ListTemplates As ListTemplateCollection
    Get
'Usage
Dim instance As Web
Dim value As ListTemplateCollection

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

Eigenschaftswert

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

Hinweise

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

Siehe auch

Referenz

Web Klasse

Web-Member

Microsoft.SharePoint.Client-Namespace