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.

另请参阅

引用

Web 类

Web 成员

Microsoft.SharePoint.Client 命名空间