Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the thread and user interface (UI) culture, based upon the current culture of the thread and the current culture of the UI.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Shared Sub SetThreadCulture ( _
culture As CultureInfo, _
uiCulture As CultureInfo _
)
'Usage
Dim culture As CultureInfo
Dim uiCulture As CultureInfoSPUtility.SetThreadCulture(culture, uiCulture)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static void SetThreadCulture(
CultureInfo culture,
CultureInfo uiCulture
)
Parameters
culture
Type: System.Globalization.CultureInfoA CultureInfo object used to set the current culture for the thread.
uiCulture
Type: System.Globalization.CultureInfoA CultureInfo object used to set the current culture for the UI.