Share via


SPListTemplate.DocumentTemplate property

Gets the ID of the document template associated with the list definition or list template.

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

Syntax

'Declaration
Public ReadOnly Property DocumentTemplate As String
    Get
'Usage
Dim instance As SPListTemplate
Dim value As String

value = instance.DocumentTemplate
public string DocumentTemplate { get; }

Property value

Type: System.String
A string that contains the ID, which by default equals 101 for document libraries.

See also

Reference

SPListTemplate class

SPListTemplate members

Microsoft.SharePoint namespace