Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

InstalledVoice.Equals Method

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

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As InstalledVoice
Dim obj As Object
Dim returnValue As Boolean

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

Parameters

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

Reference

InstalledVoice Class

InstalledVoice Members

Microsoft.Speech.Synthesis Namespace