This documentation is archived and is not being maintained.

SPWeb.GetCatalog Method

Windows SharePoint Services 3

Returns the list template gallery, site template gallery, or Web Part gallery for the Web site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPList GetCatalog(
	SPListTemplateType typeCatalog


Type: Microsoft.SharePoint.SPListTemplateType
An SPListTemplateType value that specifies the type for the gallery

Return Value

Type: Microsoft.SharePoint.SPList
An SPList object that represents the gallery.