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
)
参数
web
类型:Microsoft.SharePoint.SPWebAn SPWeb object that represents a Web site.
返回值
类型:Microsoft.SharePoint.SPListTemplateCollection
An SPListTemplateCollection object that represents the list templates.