//需求引用控件“Interop.SpeechLib.dll”
//代码如下:
SpVoice m_spVoice = new SpVoice();
m_spVoice.Speak("你好", SpeechVoiceSpeakFlags.SVSFlagsAsync);
//是不是很简单
//代码如下:
SpVoice m_spVoice = new SpVoice();
m_spVoice.Speak("你好", SpeechVoiceSpeakFlags.SVSFlagsAsync);
//是不是很简单