Partilhar via


SpeechEventInfo.Equality(SpeechEventInfo, SpeechEventInfo) Operator

Definition

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

The SpeechEventInfo object to compare to event2.

event2
SpeechEventInfo

The SpeechEventInfo object to compare to event1.

Returns

true if event1 is the same as event2; otherwise, false.

Remarks

The equivalent method for this operator is SpeechEventInfo.Equals(SpeechEventInfo).

Applies to