SPCalendarViewStyle.Template property

Gets the name of the template that defines the view style.

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

Syntax

'Declaration
Public ReadOnly Property Template As String
    Get
'Usage
Dim instance As SPCalendarViewStyle
Dim value As String

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

Property value

Type: System.String
A string that contains the name of the template that defines the view style. The default values are CalendarViewdayChrome, CalendarViewweekChrome, and CalendarViewmonthChrome.

See also

Reference

SPCalendarViewStyle class

SPCalendarViewStyle members

Microsoft.SharePoint namespace