Partager via


DocumentTemplateUrl Property

The DocumentTemplateUrl property of the SPDocumentLibrary class gets or sets the URL of the document template for the library.

Property Value

A string that contains the URL.

Remarks

The document template for a library must exist in the Forms folder of the document library.

This property can be dynamically set at run time, allowing usage of mulitiple document templates for the same document library.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security