TranslationServiceApplication.SetEnabledFileExtensions(IEnumerable<String>) Method

Definition

Enables the specified file extensions and disables any other file extensions.

public:
 void SetEnabledFileExtensions(System::Collections::Generic::IEnumerable<System::String ^> ^ fileExtensions);
public void SetEnabledFileExtensions (System.Collections.Generic.IEnumerable<string> fileExtensions);
member this.SetEnabledFileExtensions : seq<string> -> unit
Public Sub SetEnabledFileExtensions (fileExtensions As IEnumerable(Of String))

Parameters

fileExtensions
IEnumerable<String>

The file extensions to enable. All other file extensions will be disabled. If the value is null, all file extensions will be disabled. The file extensions must be in the set enumerated by the EnumerateFileExtensions() method. File extensions are case insensitive and should not contain a leading period character.

Applies to