SPUtility.SetThreadCulture method (CultureInfo, CultureInfo)
Define a cultura de interface (UI) thread e usuário, com base na cultura atual do thread e a cultura atual da interface do usuário.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Shared Sub SetThreadCulture ( _
culture As CultureInfo, _
uiCulture As CultureInfo _
)
'Uso
Dim culture As CultureInfo
Dim uiCulture As CultureInfoSPUtility.SetThreadCulture(culture, uiCulture)
public static void SetThreadCulture(
CultureInfo culture,
CultureInfo uiCulture
)
Parâmetros
culture
Type: System.Globalization.CultureInfoUm objeto de CultureInfo usado para definir a cultura atual para o segmento.
uiCulture
Type: System.Globalization.CultureInfoUm objeto de CultureInfo usado para definir a cultura atual para a interface do usuário.