Partager via


GetWebTemplates Method

The GetWebTemplates method of the SPSite class returns the collection of site definitions available for creating sites within the site collection.

Parameters

LCID   A 32-bit unsigned integer that specifies the locale ID (LCID).

Return Value

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security