Upraviť

Zdieľať cez


StringComparer.IEqualityComparer.Equals(Object, Object) Method

Definition

Determines whether the specified objects are equal.

 virtual bool System.Collections.IEqualityComparer.Equals(System::Object ^ x, System::Object ^ y) = System::Collections::IEqualityComparer::Equals;
bool IEqualityComparer.Equals (object x, object y);
abstract member System.Collections.IEqualityComparer.Equals : obj * obj -> bool
override this.System.Collections.IEqualityComparer.Equals : obj * obj -> bool
Function Equals (x As Object, y As Object) As Boolean Implements IEqualityComparer.Equals

Parameters

x
Object

The first object to compare.

y
Object

The second object to compare.

Returns

true if the specified objects are equal; otherwise, false.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the StringComparer instance is cast to an IEqualityComparer interface.

Applies to