Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the calendar view style of the specified type.
Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Function CalendarViewStyleByType ( _
    strTypeName As String _
) As SPCalendarViewStyle
'Usage
Dim instance As SPCalendarViewStyleCollection
Dim strTypeName As String
Dim returnValue As SPCalendarViewStyle
returnValue = instance.CalendarViewStyleByType(strTypeName)
public SPCalendarViewStyle CalendarViewStyleByType(
    string strTypeName
)
Parameters
strTypeName
Type: System.StringA string that specifies the calendar view style type, such as "day", "week", or "month".
Return Value
Type: Microsoft.SharePoint.SPCalendarViewStyle
An SPCalendarViewStyle object that represents the calendar view style.
See Also
Reference
SPCalendarViewStyleCollection Class