Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Shared Function HideTaiwan ( _
spWeb As SPWeb, _
localeId As Integer _
) As Boolean
Dim spWeb As SPWeb
Dim localeId As Integer
Dim returnValue As Boolean
returnValue = SPUtility.HideTaiwan(spWeb, _
localeId)
public static bool HideTaiwan(
SPWeb spWeb,
int localeId
)
- spWeb
Type: Microsoft.SharePoint.SPWeb
An SPWeb object that specifies the Web site.
- localeId
Type: System.Int32
A 32-bit integer that specifies a locale ID.
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.