SpeechOptions.Locale 属性

定义

获取或设置用于文本转语音的区域设置。

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

属性值

注解

属性Language应与 返回GetLocalesAsync()的值匹配Language

适用于