Partilhar via


SpeechEventInfo.Equality(SpeechEventInfo, SpeechEventInfo) Operador

Definição

Determina se duas instâncias de SpeechEventInfo são iguais.

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

Parâmetros

event1
SpeechEventInfo

O objeto SpeechEventInfo a ser comparado com event2.

event2
SpeechEventInfo

O objeto SpeechEventInfo a ser comparado com event1.

Retornos

Boolean

true se event1 for o mesmo que event2, caso contrário, false.

Comentários

O método equivalente para esse operador é SpeechEventInfo.Equals(SpeechEventInfo) .

Aplica-se a