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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

value = instance.Item(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