SpeechEventInfo.Equality(SpeechEventInfo, SpeechEventInfo) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷兩個 的 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)的等價方法是 。