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)

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