Share via


SPCalendarView.ViewType property

Specifies the current calendar-view template.

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

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property ViewType As String
    Get
    Set
'Usage
Dim instance As SPCalendarView
Dim value As String

value = instance.ViewType

instance.ViewType = value
[BindableAttribute(true)]
public string ViewType { get; set; }

Property value

Type: System.String
String

Remarks

The value of this property can be one of following strings: "Month", "Week", "Day", "TimeLine", or "Custom".

See also

Reference

SPCalendarView class

SPCalendarView members

Microsoft.SharePoint.WebControls namespace