Share via


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

  • bIsUserRegionalSetting
    Type: System.Boolean

    true to specify that the regional settings pertain to a user; otherwise, false to specify that the regional settings pertain to a Web site.

See Also

Reference

SPRegionalSettings Class

SPRegionalSettings Members

SPRegionalSettings Overload

Microsoft.SharePoint Namespace