語言

SpeechEventInfo.Equality(SpeechEventInfo, SpeechEventInfo) 運算子

定義

判斷兩個 的 SpeechEventInfo 實例是否相等。

public:
 static bool operator ==(System::Speech::Synthesis::TtsEngine::SpeechEventInfo event1, System::Speech::Synthesis::TtsEngine::SpeechEventInfo event2);
public static bool operator ==(System.Speech.Synthesis.TtsEngine.SpeechEventInfo event1, System.Speech.Synthesis.TtsEngine.SpeechEventInfo event2);
static member ( = ) : System.Speech.Synthesis.TtsEngine.SpeechEventInfo * System.Speech.Synthesis.TtsEngine.SpeechEventInfo -> bool
Public Shared Operator == (event1 As SpeechEventInfo, event2 As SpeechEventInfo) As Boolean

參數

event1
SpeechEventInfo

要比較的SpeechEventInfo對象。event2

event2
SpeechEventInfo

要比較的SpeechEventInfo對象。event1

傳回

true 若 event1 與 相同 event2;否則, false。

備註

此運算子 SpeechEventInfo.Equals(SpeechEventInfo)的等價方法是 。

適用於