Expand Minimize
This topic has not yet been rated - Rate this topic

SPWeb.GetCatalog method

Gets the list template gallery, site template gallery, or Web Parts page gallery for the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableMethodAttribute(CacheReturnValue = true)]
public SPList GetCatalog(
	SPListTemplateType typeCatalog
)

Parameters

typeCatalog
Type: Microsoft.SharePoint.SPListTemplateType
The type for the gallery.

Return value

Type: Microsoft.SharePoint.SPList
The gallery with the specified template type.

This method returns null if the requested list template gallery, site template gallery, or Web Parts page gallery cannot be found.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.