共用方式為


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
)

參數

  • bIsUserRegionalSetting
    Type: System.Boolean

    若要指定地區設定套用至目前的使用者 ; 只true若要指定地區設定套用至網站false 。

請參閱

參照

SPRegionalSettings class

SPRegionalSettings members

SPRegionalSettings overload

Microsoft.SharePoint namespace