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

  • bIsUserRegionalSetting
    Type: System.Boolean

    true to specify that the regional settings apply only to the current user; false to specify that the regional settings apply to the Web site.

See also

Reference

SPRegionalSettings class

SPRegionalSettings members

SPRegionalSettings overload

Microsoft.SharePoint namespace