Share via


RegionalSettings.CalendarType property

Gets and sets the calendar type that is used on the server.

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

Syntax

'Declaration
Public Property CalendarType As Short
    Get
    Set
'Usage
Dim instance As RegionalSettings
Dim value As Short

value = instance.CalendarType

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

Property value

Type: System.Int16
The type of calendar.

Remarks

The CalendarType property accepts the following integer values:

  • 0 — None

  • 1 — Gregorian

  • 3 — Japanese Emperor Era

  • 5 — Korean Tangun Era

  • 6 — Hijri

  • 7 — Buddhist

  • 8 — Hebrew Lunar

  • 9 — Gregorian Middle East French Calendar

  • 10 — Gregorian Arabic Calendar

  • 11 — Gregorian Transliterated English Calendar

  • 12 — Gregorian Transliterated French Calendar

  • 16 — Saka Era

If the property is set to any other value, the Gregorian calendar is used.

See also

Reference

RegionalSettings class

RegionalSettings members

Microsoft.SharePoint.Client namespace