共用方式為


SPCalendarViewStyleCollection.Item property (Int32)

取得集合中指定之索引處的行事曆檢視樣式物件。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    iIndex As Integer _
) As SPCalendarViewStyle
    Get
'用途
Dim instance As SPCalendarViewStyleCollection
Dim iIndex As Integer
Dim value As SPCalendarViewStyle

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

參數

  • iIndex
    Type: System.Int32

    32 位元的整數,指定行事曆檢視樣式。

Property value

Type: Microsoft.SharePoint.SPCalendarViewStyle
SPCalendarViewStyle 物件,表示行事曆檢視樣式。

請參閱

參照

SPCalendarViewStyleCollection class

SPCalendarViewStyleCollection members

Item overload

Microsoft.SharePoint namespace