This documentation is archived and is not being maintained.

SPUtility.HideTaiwan Method

Windows SharePoint Services 3

Checks whether the Taiwan calendar is hidden based on the specified Web site and locale ID.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static bool HideTaiwan(
	SPWeb spWeb,
	int localeId


Type: Microsoft.SharePoint.SPWeb
An SPWeb object that specifies the Web site.
Type: System.Int32
A 32-bit integer that specifies a locale ID.

Return Value

Type: System.Boolean
true if the Taiwan calendar is hidden; otherwise, false. By default, this method returns true and the Taiwan calendar cannot be displayed for the following SPLangId values: PeoplesRepublicofChina, HongKongSAR, and MacaoSAR.