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)的等效方法是 。

适用于