Share via


SPCalendarViewStyleCollection.Item Property (Int32)

Gets the calendar view style object at the specified index 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 ( _
    iIndex As Integer _
) As SPCalendarViewStyle
    Get
'Usage
Dim instance As SPCalendarViewStyleCollection
Dim iIndex As Integer
Dim value As SPCalendarViewStyle

value = instance.Item(iIndex)
public SPCalendarViewStyle this[
    int iIndex
] { get; }

Parameters

  • iIndex
    Type: System.Int32

    A 32-bit integer that specifies the calendar view style.

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