Condividi tramite


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

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