共用方式為


SPTimeZoneCollection.Item property

取得的時區物件集合中指定之索引處。在 [Microsoft 視覺化 C#,這個屬性會是SPTimeZoneCollection類別的索引子。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPTimeZone
    Get
'用途
Dim instance As SPTimeZoneCollection
Dim index As Integer
Dim value As SPTimeZone

value = instance(index)
public SPTimeZone this[
    int index
] { get; }

參數

  • index
    Type: System.Int32

    指定的索引為 32 位元整數。

Property value

Type: Microsoft.SharePoint.SPTimeZone
Microsoft.SharePoint.SPTimeZone 物件,表示時區。

請參閱

參照

SPTimeZoneCollection class

SPTimeZoneCollection members

Microsoft.SharePoint namespace