Share via


SPRegionalSettings.IsRightToLeftLocale Method

Returns a Boolean value that indicates whether the locale ID represents a right-to-left language.

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

Syntax

'Declaration
Public Shared Function IsRightToLeftLocale ( _
    LocaleId As Integer _
) As Boolean
'Usage
Dim LocaleId As Integer
Dim returnValue As Boolean

returnValue = SPRegionalSettings.IsRightToLeftLocale(LocaleId)
public static bool IsRightToLeftLocale(
    int LocaleId
)

Parameters

  • LocaleId
    Type: System.Int32

    A 32-bit integer that specifies the locale ID.

Return Value

Type: System.Boolean
true if the locale ID represents a right-to-left language; otherwise, false.

See Also

Reference

SPRegionalSettings Class

SPRegionalSettings Members

Microsoft.SharePoint Namespace