ITtsEngineSite.AddEvents(SpeechEventInfo[], Int32) 方法
定义
在 EventInterest 属性中添加一个事件或多个事件。Adds one or more events to the EventInterest property.
public:
void AddEvents(cli::array <System::Speech::Synthesis::TtsEngine::SpeechEventInfo> ^ events, int count);
public void AddEvents (System.Speech.Synthesis.TtsEngine.SpeechEventInfo[] events, int count);
abstract member AddEvents : System.Speech.Synthesis.TtsEngine.SpeechEventInfo[] * int -> unit
Public Sub AddEvents (events As SpeechEventInfo(), count As Integer)
参数
- events
- SpeechEventInfo[]
一个 SpeechEventInfo 对象数组。An array of SpeechEventInfo objects.
- count
- Int32
数组大小。The size of the array.