IAlternateEqualityComparer<TAlternate,T>.Equals(TAlternate, T) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si le paramètre spécifié alternate est égal à celui spécifié 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
Paramètres
- alternate
- TAlternate
Instance de type TAlternate à comparer.
- other
- T
Instance de type T à comparer.
Retours
true si les instances spécifiées sont égales ; sinon, false.