GetCustomWebTemplates Method

The GetCustomWebTemplates method of the SPSite class returns the collection of site templates for the site collection based on the specified locale ID (LCID).

Parameters

LCID   A 32-bit unsigned integer that specifies the LCID.

Return Value

A Microsoft.SharePoint.SPWebTemplateCollection object that represents the site templates.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security