SPUtility.IsRightToLeft Method
Determines if the language specified by the locale identifier (LCID) is a right-to-left language.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Function IsRightToLeft ( _
web As SPWeb, _
lcid As UInteger _
) As Boolean
'Usage
Dim web As SPWeb
Dim lcid As UInteger
Dim returnValue As Boolean
returnValue = SPUtility.IsRightToLeft(web, _
lcid)
public static bool IsRightToLeft(
SPWeb web,
uint lcid
)
Parameters
web
Type: Microsoft.SharePoint.SPWebAn SPWeb object that that represents the Web-site.
lcid
Type: System.UInt32Specifies the LCID for the language.
Return Value
Type: System.Boolean
true if the language is a right-to-left language; otherwise, false.