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)

适用于