This documentation is archived and is not being maintained.

SPSite.GetCustomWebTemplates Method

Windows SharePoint Services 3

Returns the collection of site templates for the site collection based on the specified locale ID (LCID).

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

public SPWebTemplateCollection GetCustomWebTemplates(
	uint LCID


Type: System.UInt32
A 32-bit unsigned integer that specifies the LCID.

Return Value

Type: Microsoft.SharePoint.SPWebTemplateCollection
An SPWebTemplateCollection object that represents the site templates.