共用方式為


SPCalendarViewStyleCollection.DefaultViewStyle property

從集合中取得預設的行事曆檢視樣式。

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

Syntax

'宣告
Public ReadOnly Property DefaultViewStyle As SPCalendarViewStyle
    Get
'用途
Dim instance As SPCalendarViewStyleCollection
Dim value As SPCalendarViewStyle

value = instance.DefaultViewStyle
public SPCalendarViewStyle DefaultViewStyle { get; }

Property value

Type: Microsoft.SharePoint.SPCalendarViewStyle
SPCalendarViewStyle 物件,代表預設的行事曆檢視樣式。

請參閱

參照

SPCalendarViewStyleCollection class

SPCalendarViewStyleCollection members

Microsoft.SharePoint namespace