SPRegionalSettings Constructor (SPWeb, Boolean)
Initializes a new instance of the SPRegionalSettings class based on the specified Web site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub New ( _
web As SPWeb, _
bIsUserRegionalSetting As Boolean _
)
'Usage
Dim web As SPWeb
Dim bIsUserRegionalSetting As Boolean
Dim instance As New SPRegionalSettings(web, bIsUserRegionalSetting)
public SPRegionalSettings(
SPWeb web,
bool bIsUserRegionalSetting
)
Parameters
web
Type: Microsoft.SharePoint.SPWebAn SPWeb object that represents the Web site
bIsUserRegionalSetting
Type: System.Booleantrue to specify that the regional settings pertain to a user; otherwise, false to specify that the regional settings pertain to a Web site.