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

要與 event2 相比較的 SpeechEventInfo 物件。

event2
SpeechEventInfo

要與 event1 相比較的 SpeechEventInfo 物件。

傳回

如果 event1event2 相同則為 true,否則為 false

備註

這個運算子 SpeechEventInfo.Equals(SpeechEventInfo) 的對等方法是 。

適用於