Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

<ClientCallableMethodAttribute> _
Public Function GetCustomListTemplates ( _
	web As SPWeb _
) As SPListTemplateCollection
Dim instance As SPSite
Dim web As SPWeb
Dim returnValue As SPListTemplateCollection

returnValue = instance.GetCustomListTemplates(web)


Type: Microsoft.SharePoint.SPWeb

An SPWeb object that represents a Web site.

Return Value

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