SPWeb.DocTemplates property

Gets the collection of document templates that are used on the site.

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


Public ReadOnly Property DocTemplates As SPDocTemplateCollection
Dim instance As SPWeb
Dim value As SPDocTemplateCollection

value = instance.DocTemplates
public SPDocTemplateCollection DocTemplates { get; }

Property value

Type: Microsoft.SharePoint.SPDocTemplateCollection
An SPDocTemplateCollection object that represents the document templates.

See also


SPWeb class

SPWeb members

Microsoft.SharePoint namespace