AutoDetectSourceLanguageConfig.FromSourceLanguageConfigs Method

Definition

Creates an instance of AutoDetectSourceLanguageConfig that specifies possible source languages.

public static Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig FromSourceLanguageConfigs (Microsoft.CognitiveServices.Speech.SourceLanguageConfig[] sourceLanguageConfigs);
static member FromSourceLanguageConfigs : Microsoft.CognitiveServices.Speech.SourceLanguageConfig[] -> Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig
Public Shared Function FromSourceLanguageConfigs (sourceLanguageConfigs As SourceLanguageConfig()) As AutoDetectSourceLanguageConfig

Parameters

sourceLanguageConfigs
SourceLanguageConfig[]

List of source languages.

Returns

A new AutoDetectSourceLanguageConfig instance.

Applies to