共用方式為


SPFieldDateTime.CalendarType property

取得或設定用來顯示欄位的行事曆的型別。

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

Syntax

'宣告
Public Property CalendarType As SPCalendarType
    Get
    Set
'用途
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
Microsoft.SharePoint.SPCalendarType 值,指定的行事曆類型。

請參閱

參照

SPFieldDateTime class

SPFieldDateTime members

Microsoft.SharePoint namespace