1、添加名称空间
using System.Speech.Synthesis;2、开始说话SpeechSynthesizer speak = new SpeechSynthesizer();speak.SpeakAsync("Hello");本文共 195 字,大约阅读时间需要 1 分钟。
1、添加名称空间
using System.Speech.Synthesis;2、开始说话SpeechSynthesizer speak = new SpeechSynthesizer();speak.SpeakAsync("Hello");转载于:https://www.cnblogs.com/qiujiahong/archive/2012/03/05/2380019.html