TranslationJob.IsLanguageSupported - Méthode
Indique si une langue est pris en charge par le service de traduction.
Espace de noms : Microsoft.Office.TranslationServices
Assembly : Microsoft.Office.TranslationServices (dans Microsoft.Office.TranslationServices.dll)
Syntaxe
'Déclaration
Public Shared Function IsLanguageSupported ( _
context As SPServiceContext, _
language As CultureInfo _
) As Boolean
'Utilisation
Dim context As SPServiceContext
Dim language As CultureInfo
Dim returnValue As Boolean
returnValue = TranslationJob.IsLanguageSupported(context, _
language)
public static bool IsLanguageSupported(
SPServiceContext context,
CultureInfo language
)
Paramètres
context
Type : Microsoft.SharePoint.SPServiceContextSPServiceContext associé à la demande.
language
Type : System.Globalization.CultureInfoUn objet CultureInfo qui représente la langue à tester.
Valeur renvoyée
Type : System.Boolean