Equals Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

Visual Basic (Declaration)
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean
Visual Basic (Usage)
Dim instance As SpeechAudioFormatInfo
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 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.

See Also