Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
SpeechAudioFormatInfo.Equals Method
Returns whether a given object is an instance of SpeechAudioFormatInfo and equal to the current instance of SpeechAudioFormatInfo.
Namespace: Microsoft.Speech.AudioFormat
Assembly: Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As SpeechAudioFormatInfo
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
public override bool Equals(
Object obj
)
Parameters
- obj
Type: System.Object
The object to be compared.
Return Value
Type: System.Boolean
Returns true if the current instance of SpeechAudioFormatInfo 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 SpeechAudioFormatInfo.