SPCalendarViewStyleCollection Constructor (SPWeb, SPView)
NOTE: This API is now obsolete.
Use the SPCalendarViewStyleCollection(SPWeb, SPView, Boolean) constructor instead.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
Syntax
'Declaration
<ObsoleteAttribute("Use SPCalendarViewStyleCollection(SPWeb web, SPView view, bool groupEnabled) instead.")> _
Public Sub New ( _
web As SPWeb, _
view As SPView _
)
'Usage
Dim web As SPWeb
Dim view As SPView
Dim instance As New SPCalendarViewStyleCollection(web, view)
[ObsoleteAttribute("Use SPCalendarViewStyleCollection(SPWeb web, SPView view, bool groupEnabled) instead.")]
public SPCalendarViewStyleCollection(
SPWeb web,
SPView view
)
Parameters
web
Type: Microsoft.SharePoint.SPWebAn SPWeb object that represents the Web site that contains the view style.
view
Type: Microsoft.SharePoint.SPViewAn SPView object that represents the view with which the view styles are associated.
See Also
Reference
SPCalendarViewStyleCollection Class
SPCalendarViewStyleCollection Members