Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPUtility Class
SPUtility Methods
 HideTaiwan Method
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
SPUtility.HideTaiwan Method (Microsoft.SharePoint.Utilities)
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)
Visual Basic (Declaration)
Public Shared Function HideTaiwan ( _
    spWeb As SPWeb, _
    localeId As Integer _
) As Boolean
Visual Basic (Usage)
Dim spWeb As SPWeb
Dim localeId As Integer
Dim returnValue As Boolean

returnValue = SPUtility.HideTaiwan(spWeb, localeId)
C#
public static bool HideTaiwan (
    SPWeb spWeb,
    int localeId
)

Parameters

spWeb

An SPWeb object that specifies the Web site.

localeId

A 32-bit integer that specifies a locale ID.

Return Value

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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker