共用方式為


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

陣列的大小。

適用於