SPUtility.IsEastAsia method
Determines whether the specified Locale ID (LCID) for the specified website is for an East Asia language.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function IsEastAsia ( _
web As SPWeb, _
lcid As UInteger _
) As Boolean
'Usage
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
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe website.
lcid
Type: System.UInt32The locale identifier, or LCID.
Return value
Type: System.Boolean
true if the LCID for the website is for an East Asia language; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | web is a null reference (Nothing in Visual Basic). |