Sdílet prostřednictvím


VoiceInfo.Equals(Object) Method

Definition

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

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The specified VoiceInfo object.

Returns

true if the fields of the two VoiceInfo objects are equal; otherwise, false.

Remarks

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

Applies to