Share via


SPDocTemplate.DefaultTemplate property

Gets a Boolean value that indicates whether the document template is the default template used when creating document libraries.

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

Syntax

'Declaration
Public ReadOnly Property DefaultTemplate As Boolean
    Get
'Usage
Dim instance As SPDocTemplate
Dim value As Boolean

value = instance.DefaultTemplate
public bool DefaultTemplate { get; }

Property value

Type: System.Boolean
true if the document template is the default template; otherwise, false.

See also

Reference

SPDocTemplate class

SPDocTemplate members

Microsoft.SharePoint namespace