Свойство Web.ListTemplates
Gets a value that specifies the collection of list definitions and list templates available for creating lists on the site.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public ReadOnly Property ListTemplates As ListTemplateCollection
Get
'Применение
Dim instance As Web
Dim value As ListTemplateCollection
value = instance.ListTemplates
public ListTemplateCollection ListTemplates { get; }
Значение свойства
Тип: Microsoft.SharePoint.Client.ListTemplateCollection
Returns a ListTemplateCollection instance representing the collection of list definitions and list templates available for creating lists on the site.
Замечания
Use the GetCustomListTemplates method of the Site class to return only the list templates that are created by users.