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)

Syntax

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

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