SPWeb.ListTemplates 属性
Gets the collection of all list definitions and list templates that are available for creating lists on the website.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property ListTemplates As SPListTemplateCollection
Get
用法
Dim instance As SPWeb
Dim value As SPListTemplateCollection
value = instance.ListTemplates
public SPListTemplateCollection ListTemplates { get; }
属性值
类型:Microsoft.SharePoint.SPListTemplateCollection
An SPListTemplateCollection object that represents all the list definitions and list templates that are available for creating lists.
备注
Use the GetCustomListTemplates method of the SPSite class to return only the list templates that are created by users.