SPRegionalSettings constructor (SPWeb, Boolean)
初始化是否地區設定僅適用於目前的使用者,根據指定的網站和 optioallly SPRegionalSettings類別的新執行個體。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
web As SPWeb, _
bIsUserRegionalSetting As Boolean _
)
'用途
Dim web As SPWeb
Dim bIsUserRegionalSetting As Boolean
Dim instance As New SPRegionalSettings(web, bIsUserRegionalSetting)
public SPRegionalSettings(
SPWeb web,
bool bIsUserRegionalSetting
)
參數
web
Type: Microsoft.SharePoint.SPWeb代表網站的SPWeb物件
bIsUserRegionalSetting
Type: System.Boolean若要指定地區設定套用至目前的使用者 ; 只true若要指定地區設定套用至網站false 。