SPCalendarViewStyleCollection Constructor (SPWeb, SPView, Boolean)
Initializes a new instance of the SPCalendarViewStyleCollection class.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub New ( _
web As SPWeb, _
view As SPView, _
groupEnable As Boolean _
)
'Usage
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
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe Web site that contains the view style.
view
Type: Microsoft.SharePoint.SPViewThe view with which the view styles are associated.
groupEnable
Type: System.Booleantrue to enable the group for the styles in calendar view; otherwise, false.
See Also
Reference
SPCalendarViewStyleCollection Class
SPCalendarViewStyleCollection Members