StringComparer.IEqualityComparer.Equals(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.