SPSite.GetCustomListTemplates method

Returns the collection of custom list templates, which are created by end users, from the specified site.

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

Syntax

'Declaration
Public Function GetCustomListTemplates ( _
    web As SPWeb _
) As SPListTemplateCollection
'Usage
Dim instance As SPSite
Dim web As SPWeb
Dim returnValue As SPListTemplateCollection

returnValue = instance.GetCustomListTemplates(web)
public SPListTemplateCollection GetCustomListTemplates(
    SPWeb web
)

Parameters

Return value

Type: Microsoft.SharePoint.SPListTemplateCollection
An SPListTemplateCollection object that represents the list templates.

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace