Site.GetCustomListTemplates Method
Specifies the collection of custom list templates for a given site.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function GetCustomListTemplates ( _
web As Web _
) As ListTemplateCollection
'Usage
Dim instance As Site
Dim web As Web
Dim returnValue As ListTemplateCollection
returnValue = instance.GetCustomListTemplates(web)
[RemoteAttribute]
public ListTemplateCollection GetCustomListTemplates(
Web web
)
Parameters
web
Type: Microsoft.SharePoint.Client.WebSpecifies the site that contains the custom list templates to be returned.
Return Value
Type: Microsoft.SharePoint.Client.ListTemplateCollection
Returns a ListTemplateCollection.instance representing the collection of custom list templates for a given site.