Partilhar via


SPCalendarViewStyle.Template Property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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