Partilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

value = instance.Item(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