TtsEngineSsml(String) 建構函式

定義

根據適當的語音語彙基元登錄機碼來建構TtsEngineSsml的新執行個體。

protected:
 TtsEngineSsml(System::String ^ registryKey);
protected TtsEngineSsml (string registryKey);
new System.Speech.Synthesis.TtsEngine.TtsEngineSsml : string -> System.Speech.Synthesis.TtsEngine.TtsEngineSsml
Protected Sub New (registryKey As String)

參數

registryKey
String

TtsEngineSsml 實作引擎相關聯之語音語彙基元的登錄機碼完整 名稱。

備註

這個函式的呼叫通常是由應用程式所產生,而這些 System.Speech.Synthesis 應用程式會選取實例要使用的合成器語音 SpeechSynthesizer

TtsEngineSsml必須在 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens 下註冊。

適用於