Share via


FragmentState.Equality(FragmentState, FragmentState) Operátor

Definice

Určuje, jestli dvě instance popisují FragmentState stejný TextFragment stav.

public:
 static bool operator ==(System::Speech::Synthesis::TtsEngine::FragmentState state1, System::Speech::Synthesis::TtsEngine::FragmentState state2);
public static bool operator == (System.Speech.Synthesis.TtsEngine.FragmentState state1, System.Speech.Synthesis.TtsEngine.FragmentState state2);
static member ( = ) : System.Speech.Synthesis.TtsEngine.FragmentState * System.Speech.Synthesis.TtsEngine.FragmentState -> bool
Public Shared Operator == (state1 As FragmentState, state2 As FragmentState) As Boolean

Parametry

state1
FragmentState

Instance, TextFragment jejíž popsaný stav je porovnán s instancí TextFragment poskytnutou argumentem state2 .

state2
FragmentState

Instance, TextFragment jejíž popsaný stav je porovnán s instancí TextFragment poskytnutou argumentem state1 .

Návraty

Vrátí hodnotu true , pokud obě instance FragmentState, state1 a state2, popisují stejný TextFragment stav, jinak false se vrátí.

Poznámky

Ekvivalentní metoda pro tento operátor je FragmentState.Equals(FragmentState).

Platí pro