SPUtility.IsEastAsia 方法

确定是否为指定网站的指定区域设置 ID (LCID) 的东亚语言。

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Shared Function IsEastAsia ( _
    web As SPWeb, _
    lcid As UInteger _
) As Boolean
用法
Dim web As SPWeb
Dim lcid As UInteger
Dim returnValue As Boolean

returnValue = SPUtility.IsEastAsia(web, _
    lcid)
public static bool IsEastAsia(
    SPWeb web,
    uint lcid
)

参数

返回值

类型:System.Boolean
true如果网站的 LCID 为东亚语言 ;否则为false。

异常

异常 条件
ArgumentNullException

web是空引用(无 在 Visual Basic 中)。

另请参阅

引用

SPUtility 类

SPUtility 成员

Microsoft.SharePoint.Utilities 命名空间