SpeechSynthesizer.GetVoicesAsync(String) メソッド

定義

使用可能な音声を取得します。 1.16.0 で追加されました

public System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SynthesisVoicesResult> GetVoicesAsync (string locale = "");
member this.GetVoicesAsync : string -> System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SynthesisVoicesResult>
Public Function GetVoicesAsync (Optional locale As String = "") As Task(Of SynthesisVoicesResult)

パラメーター

locale
String

音声のロケールを BCP-47 形式で指定します。または空のままにして、使用可能なすべての音声を取得します。

戻り値

音声リストの取得操作を表すタスク。

適用対象