Share via


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)

Syntax

'Declaration
Public ReadOnly Property DocTemplates As SPDocTemplateCollection
    Get
'Usage
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

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace