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 with the specified display name.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Function CalendarViewStyleByName ( _
strDisplayName As String _
) As SPCalendarViewStyle
'Usage
Dim instance As SPCalendarViewStyleCollection
Dim strDisplayName As String
Dim returnValue As SPCalendarViewStyle
returnValue = instance.CalendarViewStyleByName(strDisplayName)
public SPCalendarViewStyle CalendarViewStyleByName(
string strDisplayName
)
Parameters
strDisplayName
Type: System.StringA string that contains the display name of the calendar view style.
Return Value
Type: Microsoft.SharePoint.SPCalendarViewStyle
An SPCalendarViewStyle object that represents the calendar view style.
See Also
Reference
SPCalendarViewStyleCollection Class