SpeechEventInfo.Equality Operator (SpeechEventInfo, SpeechEventInfo)

 
equivalentCodeEntityM:System.Speech.Synthesis.TtsEngine.SpeechEventInfo.Equals(System.Speech.Synthesis.TtsEngine.SpeechEventInfo,System.Speech.Synthesis.TtsEngine.SpeechEventInfo)

Determines whether two instances of SpeechEventInfo are equal.

Namespace:   System.Speech.Synthesis.TtsEngine
Assembly:  System.Speech (in System.Speech.dll)

public static bool operator ==(
	SpeechEventInfo event1,
	SpeechEventInfo event2
)

Parameters

event1
Type: System.Speech.Synthesis.TtsEngine.SpeechEventInfo

The SpeechEventInfo object to compare to event2.

event2
Type: System.Speech.Synthesis.TtsEngine.SpeechEventInfo

The SpeechEventInfo object to compare to event1.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 3.0
Return to top
Show: