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)
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.Int32A 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.