SPCalendarViewStyleCollection.Item property (String)

Gets the calendar view style with the specified template name in the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    strTemplate As String _
) As SPCalendarViewStyle
    Get
'Usage
Dim instance As SPCalendarViewStyleCollection
Dim strTemplate As String
Dim value As SPCalendarViewStyle

value = instance(strTemplate)
public SPCalendarViewStyle this[
    string strTemplate
] { get; }

Parameters

  • strTemplate
    Type: System.String

    A string that contains the name of the calendar view style template.

Property value

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

See also

Reference

SPCalendarViewStyleCollection class

SPCalendarViewStyleCollection members

Item overload

Microsoft.SharePoint namespace