Web.GetCatalog 方法

Returns the list template gallery, site template gallery, or Web Part gallery for 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 Function GetCatalog ( _
    typeCatalog As Integer _
) As List
用法
Dim instance As Web
Dim typeCatalog As Integer
Dim returnValue As List

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

参数

  • typeCatalog
    类型:System.Int32

    Specifies the type for the gallery.

返回值

类型:Microsoft.SharePoint.Client.List
Returns List.

备注

The server must return 空引用(无 在 Visual Basic 中) if there is no gallery with the specified type or typeCatalog is not a valid ListTemplateType enumeration value.

另请参阅

引用

Web 类

Web 成员

Microsoft.SharePoint.Client 命名空间