Share via


SPCalendarBase.Calendar Property

Gets or sets the SPCalendarType value that represents the calendar.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property Calendar As SPCalendarType
    Get
    Set
'Usage
Dim instance As SPCalendarBase
Dim value As SPCalendarType

value = instance.Calendar

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

Property Value

Type: Microsoft.SharePoint.SPCalendarType

See Also

Reference

SPCalendarBase Class

SPCalendarBase Members

Microsoft.SharePoint.WebControls Namespace