Share via


SPWeb.Locale Property

Gets or sets the locale for the Web site.

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

Syntax

Public Property Locale As CultureInfo
    Get
    Set

Dim instance As SPWeb
Dim value As CultureInfo

value = instance.Locale

instance.Locale = value
public CultureInfo Locale { get; set; }

Property Value

Type: System.Globalization.CultureInfo
A System.Globalization.CultureInfo object that specifies the locale identifier (ID).

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace