共用方式為


SPCalendarViewStyle.Default property

取得或設定 Boolean 值,以指定的檢視樣式是否會在行事曆顯示的預設檢視樣式。

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

Syntax

'宣告
Public Property Default As Boolean
    Get
    Set
'用途
Dim instance As SPCalendarViewStyle
Dim value As Boolean

value = instance.Default

instance.Default = value
public bool Default { get; set; }

Property value

Type: System.Boolean
true如果行事曆檢視樣式為預設檢視樣式 ;否則,請false。預設值是false天和一週檢視樣式,但true月檢視樣式。

請參閱

參照

SPCalendarViewStyle class

SPCalendarViewStyle members

Microsoft.SharePoint namespace