Share via


SPLocaleCollection.Item property

Gets the locale object at the specified index in the collection. In Microsoft Visual C#, this property is the indexer for the SPLocaleCollection class.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPLocale
    Get
'Usage
Dim instance As SPLocaleCollection
Dim index As Integer
Dim value As SPLocale

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

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index.

Property value

Type: Microsoft.SharePoint.SPLocale
A Microsoft.SharePoint.SPLocale object that represents the locale.

See also

Reference

SPLocaleCollection class

SPLocaleCollection members

Microsoft.SharePoint namespace