SPSite.GetCustomListTemplates 方法

Returns the collection of custom list templates, which are created by end users, from the specified site.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function GetCustomListTemplates ( _
    web As SPWeb _
) As SPListTemplateCollection
用法
Dim instance As SPSite
Dim web As SPWeb
Dim returnValue As SPListTemplateCollection

returnValue = instance.GetCustomListTemplates(web)
public SPListTemplateCollection GetCustomListTemplates(
    SPWeb web
)

参数

返回值

类型:Microsoft.SharePoint.SPListTemplateCollection
An SPListTemplateCollection object that represents the list templates.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间