SpeechEventInfo.Equality(SpeechEventInfo, SpeechEventInfo) Operator

Definition

确定两个 SpeechEventInfo 实例是否相等。Determines whether two instances of SpeechEventInfo are equal.

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

Parameters

event1
SpeechEventInfo

要与 SpeechEventInfo 比较的 event2 对象。The SpeechEventInfo object to compare to event2.

event2
SpeechEventInfo

要与 SpeechEventInfo 比较的 event1 对象。The SpeechEventInfo object to compare to event1.

Returns

Boolean

如果 trueevent1 相同,则为 event2;否则为 falsetrue if event1 is the same as event2; otherwise, false.

Remarks

此运算符的等效方法是 SpeechEventInfo.Equals(SpeechEventInfo)The equivalent method for this operator is SpeechEventInfo.Equals(SpeechEventInfo).

Applies to