Compartilhar via


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

Ver também

Referência

SPUtility class

SPUtility members

SetThreadCulture overload

Microsoft.SharePoint.Utilities namespace