GetCatalog Method

The GetCatalog method of the SPSite class returns the list template gallery, site template gallery, or Web Part gallery for the site collection.

Parameters

typeCatalog   A Microsoft.SharePoint.SPListTemplateType value that specifies the type for the gallery.

Return Value

A Microsoft.SharePoint.SPList object that represents the gallery.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security