Equals Method (Object)
Collapse the table of content
Expand the table of content

FragmentState.Equals Method (Object)


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

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

public override bool Equals(
	object obj


Type: System.Object

An object that can be cast to an instance of TextFragment

Return Value

Type: System.Boolean

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.

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

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft