Κοινή χρήση μέσω


FragmentState.Equals Method

Definition

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

Overloads

Equals(Object)

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

Equals(FragmentState)

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

Equals(Object)

Source:
TTSEngineTypes.cs
Source:
TTSEngineTypes.cs
Source:
TTSEngineTypes.cs

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

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 returns false if the Object provided by the obj argument cannot be cast to TextFragment.

Applies to

Equals(FragmentState)

Source:
TTSEngineTypes.cs
Source:
TTSEngineTypes.cs
Source:
TTSEngineTypes.cs

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

other
FragmentState

An instance of TextFragment.

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