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

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