Site.GetCatalog 方法

Specifies the list template gallery, site template gallery, Web Part gallery, master page gallery, or other galleries from the site collection, including custom galleries that are defined by users.

命名空间:  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 Function GetCatalog ( _
    typeCatalog As Integer _
) As List
用法
Dim instance As Site
Dim typeCatalog As Integer
Dim returnValue As List

returnValue = instance.GetCatalog(typeCatalog)
public List GetCatalog(
    int typeCatalog
)

参数

  • typeCatalog
    类型:System.Int32

    Specifies the list template type for the gallery.

返回值

类型:Microsoft.SharePoint.Client.List
Returns a List instance representing the list template type for the gallery.

备注

This method requires permissions to the top-level site of the site collection, which is where the galleries are located.

另请参阅

引用

Site 类

Site 成员

Microsoft.SharePoint.Client 命名空间