FragmentState.Equality(FragmentState, FragmentState) Operator

定義

FragmentStateの 2 つのインスタンスが同じTextFragment状態を記述しているかどうかを判断します。

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

パラメーター

state1
FragmentState

TextFragment引数によって指定されたTextFragmentのインスタンスと比較される、記述された状態を持つstate2のインスタンス。

state2
FragmentState

TextFragment引数によって指定されたTextFragmentのインスタンスと比較される、記述された状態を持つstate1のインスタンス。

返品

trueFragmentStatestate1の両方のインスタンスが同じstate2状態を記述する場合はTextFragmentを返します。それ以外の場合は、falseが返されます。

注釈

この演算子の同等のメソッドは FragmentState.Equals(FragmentState)

適用対象