Share via


TranslationServiceApplication.EnableFileExtension method

Enables translation of files with the specified file extension.

Namespace:  Microsoft.Office.TranslationServices
Assembly:  Microsoft.Office.TranslationServices (in Microsoft.Office.TranslationServices.dll)

Syntax

'Declaration
Public Sub EnableFileExtension ( _
    fileExtension As String _
)
'Usage
Dim instance As TranslationServiceApplication
Dim fileExtension As String

instance.EnableFileExtension(fileExtension)
public void EnableFileExtension(
    string fileExtension
)

Parameters

  • fileExtension
    Type: System.String

    The file extension to enable. The file extension must be in the set enumerated by the EnumerateFileExtensions method. File extensions are case insensitive and should not contain a leading period character.

See also

Reference

TranslationServiceApplication class

TranslationServiceApplication members

Microsoft.Office.TranslationServices namespace