共用方式為


SpeechEventInfo.Inequality(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 op_Inequality : 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 物件。

傳回

Boolean

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

備註

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

適用於