确定是否为指定网站的指定区域设置 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
)
参数
web
类型:Microsoft.SharePoint.SPWeb网站。
lcid
类型:System.UInt32区域设置标识符或 LCID。
返回值
类型:System.Boolean
true如果网站的 LCID 为东亚语言 ;否则为false。
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | web是空引用(无 在 Visual Basic 中)。 |