共用方式為


SPLocaleCollection.Item property

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

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

Syntax

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

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

參數

  • index
    Type: System.Int32

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

Property value

Type: Microsoft.SharePoint.SPLocale
Microsoft.SharePoint.SPLocale 物件,表示該地區設定。

請參閱

參照

SPLocaleCollection class

SPLocaleCollection members

Microsoft.SharePoint namespace