Equals Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

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

Syntax

Visual Basic (Declaration)
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean
Visual Basic (Usage)
Dim instance As VoiceInfo
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
C#
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.

Remarks

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

See Also