星期三, 3月 04, 2009

微軟: HideTaiwan()

http://msdn.microsoft.com/en-us/library/ms441219.aspx

SPUtility.HideTaiwan Method (Microsoft.SharePoint.Utilities)

Dim spWeb As SPWeb
Dim localeId As Integer
Dim returnValue As Boolean

returnValue = SPUtility.HideTaiwan(spWeb, 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.

不小心逛到這個

微軟真強 連台灣都可以Hide() ...

2 則留言:

Yuren Ju 提到...

真是考慮週到…

BlueT 提到...

所以我也寫了個模組 ACME::MSDN::SPUtility 呼應.
http://search.cpan.org/~bluet/ACME-MSDN-SPUtility-0.02/lib/ACME/MSDN/SPUtility.pm

- This is a Implementation of part of MSDN SPUtility. http://msdn.microsoft.com/en-us/library/ms441219.aspx