SPCalendarViewStyleCollection.DefaultViewStyle property

Gets the default calendar view style from the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property DefaultViewStyle As SPCalendarViewStyle
    Get
'Usage
Dim instance As SPCalendarViewStyleCollection
Dim value As SPCalendarViewStyle

value = instance.DefaultViewStyle
public SPCalendarViewStyle DefaultViewStyle { get; }

Property value

Type: Microsoft.SharePoint.SPCalendarViewStyle
An SPCalendarViewStyle object that represents the default calendar view style.

See also

Reference

SPCalendarViewStyleCollection class

SPCalendarViewStyleCollection members

Microsoft.SharePoint namespace