Share via


SPWebTemplate.Lcid Property

Gets the locale ID of the site definition configuration or Web template.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Lcid As UInteger
    Get
'Usage
Dim instance As SPWebTemplate
Dim value As UInteger

value = instance.Lcid
[ClientCallableAttribute]
public uint Lcid { get; }

Property Value

Type: System.UInt32
An UInt32 that specifies the locale ID.

Remarks

Some examples are 1033 for English in the United States and 1041 for Japanese.

If the SPWebTemplate represents a Web template, this property corresponds to the Locale attribute of a WebTemplate element in a elements.xml file contained in the .wsp file that stores the Web template.

See Also

Reference

SPWebTemplate Class

SPWebTemplate Members

Microsoft.SharePoint Namespace