共用方式為


SPContext.RegionalSettings Property

Gets the regional settings object of the current HTTP context in Microsoft SharePoint Foundation.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property RegionalSettings As SPRegionalSettings
    Get
'Usage
Dim instance As SPContext
Dim value As SPRegionalSettings

value = instance.RegionalSettings
public SPRegionalSettings RegionalSettings { get; }

Property Value

Type: Microsoft.SharePoint.SPRegionalSettings
An SPRegionalSettings object that represents the regional settings.

See Also

Reference

SPContext Class

SPContext Members

Microsoft.SharePoint Namespace