(String[], String[], String) del método SPLanguageSettings.TryDetermineLanguage
Pruebe a determinar la mejor referencia cultural. Esta sobrecarga supone opciones predeterminadas
Espacio de nombres: Microsoft.SharePoint
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
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
Tipo: []
- desiredLanguages
Tipo: []
- language
Tipo: System.String
Valor devuelto
Tipo: System.Boolean
True si se ha seleccionado correctamente un idioma