SPCalendarViewStyleCollection class
SharePoint 2013
Represents a collection of SPCalendarViewStyle objects.
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.SPCalendarViewStyleCollection
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.SPCalendarViewStyleCollection
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Use the SPCalendarViewStyleCollection constructor to return the collection of calendar view styles that are associated with a specified list view that is used in a specified list.
Use an indexer to return a single calendar view style from the collection. For example, if the collection is assigned to a variable named myCalendarViewStyles, use myCalendarViewStyles[index] in C#, or myCalendarViewStyles(index) in Visual Basic, where index is either the index number of the calendar view style in the collection or the name of the calendar view style template.
Show: