SPRegionalSettings constructor (SPWeb, Boolean)
Initializes a new instance of the SPRegionalSettings class based on the specified Web site and optioallly whether the regional settings apply only to the current user.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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 apply only to the current user; false to specify that the regional settings apply to the Web site.