Partilhar via


SPCalendarViewStyleCollection.DefaultViewStyle Property

Gets the default calendar view style from the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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