VoiceInfo.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Compares the fields of the voice with the specified VoiceInfo object to determine whether they contain the same values.

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

public override bool Equals(
	object obj
)

Parameters

obj
Type: System.Object

The specified VoiceInfo object.

Return Value

Type: System.Boolean

Returns True if the fields of the two VoiceInfo objects are equal; otherwise returns False.

The Equals method takes a Object type as its parameter. If that object is not of the VoiceInfo type, the method returns False.

.NET Framework
Available since 3.0
Return to top
Show: