RegionalSettings.CalendarType 属性

获取和设置服务器使用的日历类型。

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Property CalendarType As Short
    Get
    Set
用法
Dim instance As RegionalSettings
Dim value As Short

value = instance.CalendarType

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

属性值

类型:System.Int16
日历的类型。

备注

CalendarType属性接受下列整数值 ︰

  • 0 -无

  • 1 — 公历

  • 3 — 日语和历

  • 5 — 韩国日历

  • 6 — 回历

  • 7 -泰

  • 8 — 希伯来农历

  • 9 — 公历中间东部法语日历

  • 10 — 公历-阿拉伯语

  • 11 — 公历-英语转译

  • 12 — 公历转译如果法语日历

  • 16 — 萨卡时代

如果设置为任何其他值,则使用公历。

另请参阅

引用

RegionalSettings 类

RegionalSettings 成员

Microsoft.SharePoint.Client 命名空间