Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VoiceInfo.Equals Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft