FragmentState.Equals FragmentState.Equals FragmentState.Equals FragmentState.Equals Method

Definition

Determines if the current instance of FragmentState describes the same TextFragment state as another TextFragment instance, or an Object which can be cast to TextFragment.

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines if a given object is an instance FragmentState equal to the current instance of FragmentState.

Equals(FragmentState) Equals(FragmentState) Equals(FragmentState) Equals(FragmentState)

Determines if a given instance of FragmentState is equal to the current instance of FragmentState.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines if a given object is an instance FragmentState equal to the current instance of FragmentState.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object Object Object Object

An object that can be cast to an instance of TextFragment

Returns

Returns true, if the current instance of TextFragment and that obtained from the Object provided by the obj argument describe the same TextFragment state. Returns false if the current TextFragment and the obj argument do not support the same TextFragment state.

Remarks

The method return false if the Object provided by the obj argument cannot be cast to TextFragment.

Equals(FragmentState) Equals(FragmentState) Equals(FragmentState) Equals(FragmentState)

Determines if a given instance of FragmentState is equal to the current instance of FragmentState.

public:
 virtual bool Equals(System::Speech::Synthesis::TtsEngine::FragmentState other);
public bool Equals (System.Speech.Synthesis.TtsEngine.FragmentState other);
override this.Equals : System.Speech.Synthesis.TtsEngine.FragmentState -> bool
Public Function Equals (other As FragmentState) As Boolean

Parameters

Returns

Returns true, if both the current instance of TextFragment and that supplied through the other argument describe the same TextFragment state. Returns false if the current TextFragment and the other argument do not support the same TextFragment state.

Implements

Applies to