ImmutableSortedSet<T>.Overlaps(IEnumerable<T>) Méthode

Définition

Détermine si l’ensemble trié immuable actuel et une collection spécifiée partagent des éléments communs.

public:
 virtual bool Overlaps(System::Collections::Generic::IEnumerable<T> ^ other);
public bool Overlaps (System.Collections.Generic.IEnumerable<T> other);
abstract member Overlaps : seq<'T> -> bool
override this.Overlaps : seq<'T> -> bool
Public Function Overlaps (other As IEnumerable(Of T)) As Boolean

Paramètres

other
IEnumerable<T>

Collection à comparer à l’ensemble actuel.

Retours

true si l’ensemble actuel et other partagent au moins un élément commun ; sinon, false.

Implémente

Remarques

Package NuGet System.Collections.Immutable

À propos des collections immuables et de l’installation

S’applique à