IAlternateEqualityComparer<TAlternate,T>.Equals(TAlternate, T) 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 alternate
equals the specified other
.
public bool Equals (TAlternate alternate, T other);
abstract member Equals : 'Alternate * 'T -> bool
Public Function Equals (alternate As TAlternate, other As T) As Boolean
Parameters
- alternate
- TAlternate
The instance of type TAlternate
to compare.
- other
- T
The instance of type T
to compare.
Returns
true
if the specified instances are equal; otherwise, false
.
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.