PromptOptions.RecognizeLanguage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the locale used for recognizing the user's choice.
public string RecognizeLanguage { get; set; }
member this.RecognizeLanguage : string with get, set
Public Property RecognizeLanguage As String
Property Value
The locale to be use for recognizing the utterance.
Remarks
When using a translator middleware, the user's choice is translated and it doesn't match the prompt's options. Setting this property with the translator's target language allows the prompt to recognize the utterance.