共用方式為


SPContext.RegionalSettings property

取得地區設定中的物件目前的 HTTP 內容的Microsoft SharePoint Foundation。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property RegionalSettings As SPRegionalSettings
    Get
'用途
Dim instance As SPContext
Dim value As SPRegionalSettings

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

Property value

Type: Microsoft.SharePoint.SPRegionalSettings
SPRegionalSettings 物件,表示地區設定。

請參閱

參照

SPContext class

SPContext members

Microsoft.SharePoint namespace