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)

Syntax

'Declaration
Public ReadOnly Property Lcid As UInteger
    Get
'Usage
Dim instance As SPWebTemplate
Dim value As UInteger

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