SPUtility.IsRightToLeft method
會決定如果地區設定識別碼 (LCID) 所指定的語言為從右至左的語言。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function IsRightToLeft ( _
web As SPWeb, _
lcid As UInteger _
) As Boolean
'用途
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
)
參數
web
Type: Microsoft.SharePoint.SPWebSPWeb物件所代表的網站。
lcid
Type: System.UInt32指定語言的 LCID。
傳回值
Type: System.Boolean
true如果語言是從右至左語言 ;否則,請false。