Equals Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

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 InstalledVoice
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
C#
public override bool Equals(
	Object obj
)

Parameters

obj
Type: System..::..Object

An object that can be cast to an instance of InstalledVoice.

Return Value

Type: System..::..Boolean

Returns true if the current instance of InstalledVoice and that obtained from the obj argument are equal, otherwise returns false.

Remarks

The method returns false if the Object provided by the obj argument cannot be cast to InstalledVoice.

See Also