TranslationJob.IsLanguageSupported method
Reports whether a language is supported by the translation service.
Namespace: Microsoft.Office.TranslationServices
Assembly: Microsoft.Office.TranslationServices (in Microsoft.Office.TranslationServices.dll)
Syntax
'Declaration
Public Shared Function IsLanguageSupported ( _
context As SPServiceContext, _
language As CultureInfo _
) As Boolean
'Usage
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
)
Parameters
context
Type: Microsoft.SharePoint.SPServiceContextThe SPServiceContext associated with the request.
language
Type: System.Globalization.CultureInfoA CultureInfo object that represents the language to test.
Return value
Type: System.Boolean