Export (0) Print
Expand All

Web.GetCatalog method

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public List GetCatalog(
	int typeCatalog
)

Parameters

typeCatalog
Type: System.Int32

Specifies the type for the gallery.

Return value

Type: Microsoft.SharePoint.Client.List
Returns List.

The server must return a null reference (Nothing in Visual Basic) if there is no gallery with the specified type or typeCatalog is not a valid ListTemplateType enumeration value.

Community Additions

ADD
Show:
© 2014 Microsoft