Share via


SPCalendarItem.CalendarType property

Gets or sets the calendar type.

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

Syntax

'Declaration
Public Property CalendarType As Integer
    Get
    Set
'Usage
Dim instance As SPCalendarItem
Dim value As Integer

value = instance.CalendarType

instance.CalendarType = value
public int CalendarType { get; set; }

Property value

Type: System.Int32

Implements

ISPCalendarItem.CalendarType

Remarks

Calendar types are month, week, and day.

See also

Reference

SPCalendarItem class

SPCalendarItem members

Microsoft.SharePoint.WebControls namespace