FragmentState.Equality Operator (FragmentState, FragmentState)

 
equivalentCodeEntityM:System.Speech.Synthesis.TtsEngine.FragmentState.Equals(System.Speech.Synthesis.TtsEngine.FragmentState,System.Speech.Synthesis.TtsEngine.FragmentState)

Determines if two instances of FragmentState describes the same TextFragment state.

Namespace:   System.Speech.Synthesis.TtsEngine
Assembly:  System.Speech (in System.Speech.dll)

public static bool operator ==(
	FragmentState state1,
	FragmentState state2
)

Parameters

state1
Type: System.Speech.Synthesis.TtsEngine.FragmentState

An instance of TextFragment whose described state is compared against the instance of TextFragment provided by the state2 argument.

state2
Type: System.Speech.Synthesis.TtsEngine.FragmentState

An instance of TextFragment whose described state is compared against the instance of TextFragment provided by the state1 argument.

Return Value

Type: System.Boolean

Returns true if both instances of FragmentState, state1 and state2, describe the same TextFragment state, otherwise false is returned.

.NET Framework
Available since 3.0
Return to top
Show: