SPFieldDateTime.CalendarType property

Gets or sets the type of calendar that is used to display the field.

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

Syntax

'Declaration
Public Property CalendarType As SPCalendarType
    Get
    Set
'Usage
Dim instance As SPFieldDateTime
Dim value As SPCalendarType

value = instance.CalendarType

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

Property value

Type: Microsoft.SharePoint.SPCalendarType
A Microsoft.SharePoint.SPCalendarType value that specifies the type of calendar.

See also

Reference

SPFieldDateTime class

SPFieldDateTime members

Microsoft.SharePoint namespace