SPSite.GetCatalog Method
Returns 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.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- typeCatalog
- Type: Microsoft.SharePoint.SPListTemplateType
An SPListTemplateType value that specifies the type for the gallery