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

Return Value

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

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace