SPLanguageSettings.TryDetermineLanguage method (String[], String[], String)
Tente determinar a melhor cultura a ser usada. Essa sobrecarga assume opções padrão
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Shared Function TryDetermineLanguage ( _
supportedLanguages As String(), _
desiredLanguages As String(), _
<OutAttribute> ByRef language As String _
) As Boolean
'Uso
Dim supportedLanguages As String()
Dim desiredLanguages As String()
Dim language As String
Dim returnValue As Boolean
returnValue = SPLanguageSettings.TryDetermineLanguage(supportedLanguages, _
desiredLanguages, language)
public static bool TryDetermineLanguage(
string[] supportedLanguages,
string[] desiredLanguages,
out string language
)
Parâmetros
- supportedLanguages
Type: []
- desiredLanguages
Type: []
- language
Type: System.String
Valor retornado
Type: System.Boolean
True se um idioma foi marcada com êxito, FALSO caso contrário