Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetCustomWebTemplates method

SPSite.GetCustomWebTemplates method

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 Function GetCustomWebTemplates ( _
	LCID As UInteger _
) As SPWebTemplateCollection
Dim instance As SPSite
Dim LCID As UInteger
Dim returnValue As SPWebTemplateCollection

returnValue = instance.GetCustomWebTemplates(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.
© 2015 Microsoft