Site.GetCatalog method
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.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function GetCatalog ( _
typeCatalog As Integer _
) As List
'Usage
Dim instance As Site
Dim typeCatalog As Integer
Dim returnValue As List
returnValue = instance.GetCatalog(typeCatalog)
public List GetCatalog(
int typeCatalog
)
Parameters
typeCatalog
Type: System.Int32Specifies the list template type for the gallery.
Return value
Type: Microsoft.SharePoint.Client.List
Returns a List instance representing the list template type for the gallery.
Remarks
This method requires permissions to the top-level site of the site collection, which is where the galleries are located.