SPCalendarViewStyleCollection constructor (SPWeb, SPView, Boolean)
初始化SPCalendarViewStyleCollection類別的新執行個體。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
web As SPWeb, _
view As SPView, _
groupEnable As Boolean _
)
'用途
Dim web As SPWeb
Dim view As SPView
Dim groupEnable As Boolean
Dim instance As New SPCalendarViewStyleCollection(web, view, _
groupEnable)
public SPCalendarViewStyleCollection(
SPWeb web,
SPView view,
bool groupEnable
)
參數
web
Type: Microsoft.SharePoint.SPWeb包含檢視樣式的 Web 網站。
view
Type: Microsoft.SharePoint.SPView檢視與檢視樣式相關聯。
groupEnable
Type: System.Boolean若要啟用的群組行事曆] 檢視中 ; 樣式的true否則, false。
請參閱
參照
SPCalendarViewStyleCollection class
SPCalendarViewStyleCollection members