SPWeb.GetCatalog 方法

Gets the list template gallery, site template gallery, or Web 部件页 gallery for the website.

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

语法

声明
Public Function GetCatalog ( _
    typeCatalog As SPListTemplateType _
) As SPList
用法
Dim instance As SPWeb
Dim typeCatalog As SPListTemplateType
Dim returnValue As SPList

returnValue = instance.GetCatalog(typeCatalog)
public SPList GetCatalog(
    SPListTemplateType typeCatalog
)

参数

返回值

类型:Microsoft.SharePoint.SPList
The gallery with the specified template type.

备注

This method returns null if the requested list template gallery, site template gallery, or Web 部件页 gallery cannot be found.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间