TranslationJob.IsFileExtensionSupported - Méthode

Indique si le type de fichier indiqué par l'extension de fichier donné 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 IsFileExtensionSupported ( _
    context As SPServiceContext, _
    extension As String _
) As Boolean
'Utilisation
Dim context As SPServiceContext
Dim extension As String
Dim returnValue As Boolean

returnValue = TranslationJob.IsFileExtensionSupported(context, _
    extension)
public static bool IsFileExtensionSupported(
    SPServiceContext context,
    string extension
)

Paramètres

  • extension
    Type : System.String

    L'extension de fichier à tester. La valeur ne doit pas inclure le caractère de la période initial.

Valeur renvoyée

Type : System.Boolean

Voir aussi

Référence

TranslationJob classe

TranslationJob - Membres

Microsoft.Office.TranslationServices - Espace de noms