ISet<T>.Overlaps(IEnumerable<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 jeu actuel se chevauche avec la collection spécifiée.
public:
bool Overlaps(System::Collections::Generic::IEnumerable<T> ^ other);
public bool Overlaps(System.Collections.Generic.IEnumerable<T> other);
abstract member Overlaps : seq<'T> -> bool
Public Function Overlaps (other As IEnumerable(Of T)) As Boolean
Paramètres
- other
- IEnumerable<T>
Collection à comparer au jeu actuel.
Retours
true si le jeu actuel et other partagent au moins un élément commun ; sinon, false.
Exceptions
other a la valeur null.
Remarques
Tous les éléments dupliqués sont other ignorés.