共用方式為


SPUtility.SetThreadCulture method (CultureInfo, CultureInfo)

設定執行緒及使用者介面 (UI) 的文化特性,根據目前的文化特性的執行緒及目前的使用者介面的文化特性。

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

Syntax

'宣告
Public Shared Sub SetThreadCulture ( _
    culture As CultureInfo, _
    uiCulture As CultureInfo _
)
'用途
Dim culture As CultureInfo
Dim uiCulture As CultureInfoSPUtility.SetThreadCulture(culture, uiCulture)
public static void SetThreadCulture(
    CultureInfo culture,
    CultureInfo uiCulture
)

參數

請參閱

參照

SPUtility class

SPUtility members

SetThreadCulture overload

Microsoft.SharePoint.Utilities namespace