Share via


DateTimeControl.LocaleId Property

Gets or sets the control's locale identifier.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property LocaleId As Integer
    Get
    Set
'Usage
Dim instance As DateTimeControl
Dim value As Integer

value = instance.LocaleId

instance.LocaleId = value
[BindableAttribute(true)]
public int LocaleId { get; set; }

Property Value

Type: System.Int32
An integer that indicates the control's locale identifier. The default is 1033, which is the locale identifier for English.

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace