ITtsEngineSite.AddEvents(SpeechEventInfo[], Int32) 方法

定义

EventInterest 属性中添加一个事件或多个事件。

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 对象数组。

count
Int32

数组大小。

适用于