ITtsEngineSite.AddEvents(SpeechEventInfo[], Int32) ITtsEngineSite.AddEvents(SpeechEventInfo[], Int32) ITtsEngineSite.AddEvents(SpeechEventInfo[], Int32) ITtsEngineSite.AddEvents(SpeechEventInfo[], Int32) Method

定義

將一或多個事件加入至 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 Int32 Int32 Int32

陣列的大小。The size of the array.

適用於