SPLocaleCollection.Item 属性

获取集合中指定索引处的区域设置对象。在 Microsoft Visual C#,此属性是SPLocaleCollection类的索引器。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
    类型:System.Int32

    32 位整数,指定的索引。

属性值

类型:Microsoft.SharePoint.SPLocale
一个表示的区域设置的Microsoft.SharePoint.SPLocale对象。

另请参阅

引用

SPLocaleCollection 类

SPLocaleCollection 成员

Microsoft.SharePoint 命名空间