Share via


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

  • groupEnable
    Type: System.Boolean

    true to enable the group for the styles in calendar view; otherwise, false.

See Also

Reference

SPCalendarViewStyleCollection Class

SPCalendarViewStyleCollection Members

SPCalendarViewStyleCollection Overload

Microsoft.SharePoint Namespace