SpeechOptions.Locale Property

Definition

Gets or sets the locale to use with text-to-speech.

public:
 property Microsoft::Maui::Media::Locale ^ Locale { Microsoft::Maui::Media::Locale ^ get(); void set(Microsoft::Maui::Media::Locale ^ value); };
public Microsoft.Maui.Media.Locale? Locale { get; set; }
member this.Locale : Microsoft.Maui.Media.Locale with get, set
Public Property Locale As Locale

Property Value

Remarks

The Language property should match a Language value returned by GetLocalesAsync().

Applies to