Specifies the current calendar-view template.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
<DescriptionAttribute("View type of Calendar. Can be on of follow strings: 'Month', 'Week','Day','TimeLine','Custom'.")> _
<BindableAttribute(True)> _
<CategoryAttribute("Data")> _
<DefaultValueAttribute("Month")> _
Public Property ViewType As String
Dim instance As SPCalendarView
Dim value As String
value = instance.ViewType
instance.ViewType = value
[DescriptionAttribute("View type of Calendar. Can be on of follow strings: \'Month\', \'Week\',\'Day\',\'TimeLine\',\'Custom\'.")]
[BindableAttribute(true)]
[CategoryAttribute("Data")]
[DefaultValueAttribute("Month")]
public string ViewType { get; set; }
The type can be one of following strings: "Month", "Week", "Day", "TimeLine", or "Custom".